🦋 Chaos Theory: Twin Pendulums - 2D Divergence, Lyapunov Exponent and Phase Portrait
2D companion of the chaos theory twin pendulums simulation: two double pendulums with a tiny initial difference integrated with RK4, the angle-space separation on a log scale with a fitted Lyapunov exponent, energy-drift trace and a phase portrait.
⚙ Under the hood
2D companion of the chaos theory twin pendulums simulation: two double pendulums with a tiny initial difference integrated with RK4, the angle-space separation on a log scale with a fitted Lyapunov exponent, energy-drift trace and a phase portrait.
Chaos TheoryDouble PendulumLyapunov ExponentButterfly EffectNonlinear Dynamics
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install