Pendulum Sim
A double pendulum you can grab and let go — watch order turn into chaos, trace glowing paths and try to make it flip. Free · no download · works on phone & desktop
Drag either weight to set the starting angles, then let go. Tick Chaos ×3 to watch three almost identical pendulums drift apart.
About Pendulum Sim
A double pendulum is one pendulum hanging from the end of another — and it is one of the simplest machines that behaves chaotically. Start it with a small push and it swings calmly; lift it high and it whirls, loops and flips in patterns that never repeat. Pendulum Sim solves the real equations of motion step by step (the Runge–Kutta method), so energy is conserved and what you see is genuine physics. Drag either weight to choose the starting angles, let go, and the lower weight draws a glowing trail behind it. Tick Chaos ×3 to release three pendulums that start just one thousandth of a radian apart: for a few seconds they move together, then they suddenly go completely different ways — the butterfly effect in action. Change the length and weight of the lower arm, try the gravity of the Moon, Mars or Jupiter, or add friction to watch it settle. In the Flip challenge, choose a start and see how many times you can make the lower arm flip over the top in 30 seconds.
How to play
- Press Play to start the pendulum, Pause to freeze it, and Reset to go back to the start.
- Drag the grey (upper) or colored (lower) weight to set the starting angles; let go and it swings from there.
- Tick Chaos ×3 to run three pendulums that start almost exactly the same, and Trail to show the path of the lower weight.
- Use the sliders and menus to change the lower arm’s length and weight, the gravity and the friction.
- Flip challenge: set a start, press Go, and count how many times the lower arm flips over the top in 30 seconds.
Tips & strategy
- Start with both arms pointing nearly straight up for the wildest motion.
- Small starting angles give smooth, regular swinging — chaos needs energy.
- A heavier lower weight makes the upper arm get thrown around more.
- For the Flip challenge, lift the lower arm high and give the upper arm room to swing.
Frequently asked questions
Why is a double pendulum chaotic?
Its motion depends extremely strongly on the starting position. Tiny differences — far smaller than you could measure — grow quickly until two pendulums that started almost the same move completely differently.
Is the simulation accurate?
Yes. It solves the standard equations of motion for an ideal double pendulum with the fourth-order Runge–Kutta method and small time steps, so the total energy stays constant when friction is off.
What does Chaos ×3 show?
Three pendulums start 0.001 radians apart, which is less than a tenth of a degree. Watch how long they stay together before they split up — that is the butterfly effect.
What happens on the Moon or Jupiter?
Lower gravity makes the pendulum swing slowly and float; higher gravity speeds everything up. The patterns stay chaotic either way.
What counts as a flip?
A flip is counted every time the lower arm swings all the way over the top of its circle.