Free tools & games for everyone
Free · No sign-up · No accounts
See chaos happen: the logistic map and its bifurcation diagram, the Lorenz butterfly and a double pendulum, each started twice a hair apart.
| Tab | Move between tabs, sliders, boxes and buttons |
|---|---|
| Arrow keys on the r slider | Change r by 0.001; Page Up and Page Down move faster |
| Enter in a box | Run the current experiment |
| Tap or click the bifurcation diagram | Zoom in around that growth rate (or type the range) |
The logistic map xnext = r x (1 − x) is a simple model of a population with limited food (May, 1976). Cycles are found after 4,000 warm-up steps by looking for a return within 10-7 in up to 64 steps; the Lyapunov exponent is the average of ln |r (1 − 2x)| over 20,000 steps after 1,000 warm-up steps.
The Lorenz system (1963) is dx/dt = σ(y − x), dy/dt = x(ρ − z) − y, dz/dt = xy − βz, here with the classic σ = 10, ρ = 28, β = 8/3, started at (1, 1, 1) and solved by fourth-order Runge-Kutta with time step 0.005 for 40 time units. The double pendulum uses the full equations of motion for two point masses on light rigid arms without friction (g = 9.80665 m/s²), solved by fourth-order Runge-Kutta with a 2 ms step for 20 seconds; the energy check shows how faithfully the numbers follow the physics. Chaotic results depend on every digit, so other programs and other step sizes give different paths after a while, though the same overall behaviour.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product