A graphical simulation of a double pendulum, implemented in JavaScript using the p5.js library. The project visualizes the trajectory and chaotic motion of a double pendulum, with the option to display only the trajectory or the entire pendulum.
This project was inspired by a YouTube video about double pendulums, but I do not remember the exact link.
Try the simulation online: https://adebiasi.github.io/DoublePendulumMatrix/
- Spacebar: Toggle between showing only the trajectories and showing the full pendulums. Also clears the background.
- C: Clear the trajectories and reset the background.
This project is licensed as described in the LICENSE file.

