🔮 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.
⚙ 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