MOHIBB MALIK

deterministic chaos, in your browser

Double Pendulum

A swarm of double pendulums, each released a hair's breadth apart in starting angle, integrated with the exact same equations of motion. Watch nearly identical starts fan out into wildly different paths within seconds — the butterfly effect, made visible. Tune the swarm and the physics below.

Your browser does not support canvas, which is required to display this simulation.

01 Swarm

12
0.050

Every pendulum starts at the same angle as its neighbor, plus this tiny offset — small enough that they all look identical at first.

02 Physics

9.8
1.00
1.00
1.0
1.0
0.00

03 Trails & playback

60
1.0

A swarm of idealized double pendulums — massless rigid rods, point-mass bobs — integrated with 4th-order Runge-Kutta. For the equations behind every term, open .