Home▸Chaos & Dynamics▸Double Pendulum Simulation (2D)

🔮 Double Pendulum Simulation (2D)

Interactive 2D double pendulum simulation: real Lagrangian equations of motion, RK4-integrated, showing chaotic motion. Drag to set the initial angle, add a nearly-identical twin pendulum, and watch the butterfly effect unfold in real time.

Chaos & Dynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-double-pendulum ↗ Open standalone
⚙ Under the hood

Interactive 2D double pendulum simulation built on real coupled Lagrangian equations of motion, integrated with RK4 for accurate, energy-conserving chaos. Drag the bobs to set the starting angles, then enable Twin mode to launch a second nearly-identical pendulum and watch the two paths diverge exponentially — the classic signature of deterministic chaos.

chaospendulumlagrangian mechanicsrk4canvas2dbutterfly effect

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)