Chaos
Two double pendulums start a hundredth of a degree apart. A few seconds later they have nothing in common. The butterfly effect, in your hands.
Drag a weight to choose where they start; let go to release them. With the keyboard: arrows move the start, Enter releases.
t = 0.0 s · still together · energy kept to 100.00000 %
Difference at the start
The gap between them, on a log scale
—
Challenges
Watch two almost identical pendulums part ways.
Make the difference a millionth of a degree. How much longer do they last?
Find a gentle start where they stay together for 30 seconds.
Release a hundred pendulums at once.
Ask Claude
Answered by Claude Haiku 5.5, from Anthropic. What you write is sent to Anthropic to answer; we don't keep it.
What's happening
A double pendulum follows simple, exact laws, and nothing about it is random. Even so, swinging high, it can't be predicted for long: any difference at the start, however small, doubles every fraction of a second. That's chaos. Edward Lorenz ran into it in 1961, when he restarted a weather simulation from numbers rounded to three decimals and got a different forecast; he later called it the butterfly effect. On the chart, the gap between the two pendulums grows in a straight line on a log scale: exponential growth. Making the starting difference a million times smaller buys only about ten seconds.
δ(t) ≈ δ₀ · e^(λt) · Runge–Kutta 4, Δt = 1 ms
How to play
Drag a weight to choose the start and let go. Pick how different the two pendulums are, from a degree to a millionth of a degree, and watch when they part. Look for a gentle start where they stay together. Then release a hundred at once, and save the drawing their tips leave.
How it's made
The equations of motion of the double pendulum, integrated with fourth-order Runge–Kutta in steps of a thousandth of a second: the energy stays put to a millionth of a percent, and the readout shows it. The gap between the two is measured in phase space, and its doubling time comes from a straight-line fit, as in a physics lab.
Want something like this for your brand or your product?
Send a signalMore games
Next word
Applied AI, explained
Neural network
Machine learning, made visible
Prism
Game design and ray tracing
Murmuration
Agent simulation and emergence
Double slit
Quantum physics, made visible
Morphogenesis
Generative design and simulation
Cymatics
Real-time simulation and sound
Orbits
Physics simulation and interaction design
Fourier
Mathematics as art, and audio
Star colours
Colour science and design systems