Pendulum Lab by Elliot Jung

RESEARCH HQ — fps
Presets
Main view — running
live
ΔE / E₀
λ (Benettin)
Phase portrait
Wrapped angle projection of theta one versus theta two.
θ₁–θ₂ angle projection (wrapped)
Time histories of theta one and theta two.
Angles over time — θ₁(t), θ₂(t)
Poincaré section (θ₁=0, θ̇₁>0) — wheel/pinch zoom
FFT spectrum (log)
RK4 (cyan) · Leapfrog (orange) · RKF45 (green) · Yoshida4 (purple)
|ΔE / E₀| log₁₀
‖Δx‖ vs RK4 (log)
Benchmark — steps / ms
Full Lyapunov spectrum — QR-orthonormalization (Benettin's algorithm)
λ(θ₁, θ₂) chaos map · click to set initial conditions
Bifurcation diagram — θ₂ at Poincaré section vs g
3D phase space (θ₁, θ₂, ω₂) — drag to rotate · scroll to zoom
Phase density (θ₁ vs ω₁) — GPU additive blending
initializing…

Validation Suite

Automated tests verifying determinism, energy conservation, integrator convergence, replay reproducibility, and long-run NaN resilience.

Long-run energy drift by integrator

Committed benchmark:energy curves; bounded oscillation explains why structure-preserving methods matter.

0–1 test translation variables (p_c, q_c) — bounded ⇒ regular · Brownian ⇒ chaos
CLV exponents (top) and hyperbolicity-angle distribution (bottom) — Ginelli algorithm
Double-pendulum flip basin — colour = which rod flips first (fractal boundary)
Recurrence plot of cos(θ₁) — long diagonals ⇒ regular · speckled texture ⇒ chaos
Finite-time Lyapunov exponent σ_T(θ₁, θ₂) — bright ridges are Lagrangian Coherent Structures
SDE ensemble: log₁₀ Var[θ₁](t) of the double pendulum under a stochastic torque