Lorenz attractor
What you are seeing: a simplified model of atmospheric convection, due to Edward Lorenz in 1963. The trajectory in never settles down and never repeats, but it stays trapped in a butterfly-shaped region of space. This was the first rigorously studied example of deterministic chaos: noise-free, completely deterministic, yet long-term prediction is impossible.
The equations are , , , here projected onto the plane. The red dot is the current state. in the corner is the running estimate of the largest Lyapunov exponent (analytic value about ); it tells you how fast two nearby starting points drift apart. Drop below for a stable spiral; push it past for periodic windows inside chaos.
shared/js/engine/ode-rk.js, fixed dt = 0.005. Live
max-Lyapunov estimator via tangent-vector renormalization
.WHAT TO TRY
- Vary each control and watch the rail readouts respond.
- Compare the diagnostic plot against the live scene.