PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 85 in Math Visualization.

View category →
NewUniversity / research

Rössler Attractor

Launch Simulator

RK4 integration of ẋ=−y−z, ẏ=x+ay, ż=b+z(x−c); period-doubling cascade as c grows.

NewUniversity / research

Logistic Map Bifurcation

Launch Simulator

x_{n+1}=rx_n(1−x_n): scan r, plot attractors — period doubling to chaos (Feigenbaum cascade).

NewUniversity / research

2D Phase Portrait (ODE)

Launch Simulator

Direction field and click-to-trace trajectories for planar systems: harmonic, damped, saddle, nodes, foci, pendulum (RK4).

NewUniversity / research

Euler vs RK4 (Pendulum)

Launch Simulator

Same nonlinear pendulum ODE and step h; Euler vs RK4 side by side.

NewKids

Chaos Game (Sierpiński)

Launch Simulator

Random vertex + midpoint walk; the attractor is the Sierpiński gasket — try RGB by vertex.

NewUniversity / research

Flow Field Particles

Launch Simulator

Synthetic v(x,y,t); advection with wrap; optional arrow grid.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/Lorenz strange attractor

Lorenz strange attractor

σ, ρ, β ODEs; sensitive butterfly in (x,z) projection — RK4 trace.

Parameters

10
28
2.6666666666666665
1.2×
8000

About this model

The Lorenz system is a three-variable autonomous ODE originally derived from a severely truncated model of atmospheric convection: dx/dt = σ(y − x), dy/dt = x(ρ − z) − y, dz/dt = xy − βz with positive parameters σ, ρ, and β. For ρ > 1 the origin destabilizes; for sufficiently large ρ (with classic choices like σ = 10, β = 8/3, ρ = 28) trajectories settle onto a strange attractor—two lobes of fractal structure with sensitive dependence on initial conditions. The simulator integrates these equations to show the iconic butterfly-shaped set, illustrating stretching and folding in state space, bounded motion despite local instability (positive Lyapunov exponent), and the existence of a dissipative attractor volume. Idealizations include ignoring spatial structure of real fluids, stochastic forcing, and numerical truncation error, though the latter can be reduced with adaptive steps. Students connect the model to chaos, unpredictability in deterministic systems, and the limits of long-range weather forecasting.

Who it's for: Undergraduate dynamical systems, nonlinear dynamics, or computational science courses after linear systems and Runge–Kutta integration are familiar.

Key terms

  • Lorenz system
  • Strange attractor
  • Chaos
  • Sensitive dependence
  • Dissipative flow
  • Lyapunov exponent
  • Butterfly effect
  • Nonlinear ODE

How it works

The classic 1963 Lorenz system: three coupled nonlinear ODEs with sensitive dependence on initial conditions. Default parameters (σ,ρ,β) = (10,28,8/3) give the “butterfly” in the x–z projection.

Frequently asked questions

Is the Lorenz model realistic weather?
It captures qualitative features—nonlinearity, mixing, and sensitivity—but real forecasting models resolve millions of variables and physics absent here.
Why do two nearby trajectories diverge?
Local exponential instability along certain directions in state space amplifies tiny differences; nonlinear folding keeps trajectories bounded, producing the layered attractor geometry.
Does energy conserve like in Hamiltonian chaos?
The Lorenz system is dissipative (phase-space volumes contract). Hamiltonian chaos preserves volume; the mechanisms and tools differ.
Can I trust long runs with Euler's method?
Fixed-step explicit Euler quickly misrepresents trajectories; use higher-order integrators and awareness of timestep effects, as in the Euler-vs-RK4 pendulum demo.