JavaScript double pendulum simulation with RK4 integration
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Double Pendulum Animation

This is a JavaScript animation of a double pendulum chaotic system. WebGL rendering is used by default, falling back to plain old canvas rendering if unavailable.

Key bindings:

  • a: add a new random pendulum
  • c: imperfectly clone an existing pendulum
  • d: delete the most recently added pendulum
  • m: toggle between WebGL and Canvas rendering
  • SPACE: pause the simulation

See also: