Skip to content

Graphical simulation of a chaotic double pendulum using p5.js.

License

Notifications You must be signed in to change notification settings

adebiasi/DoublePendulumMatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoublePendulumMatrix

Description

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 it out

Try the simulation online: https://adebiasi.github.io/DoublePendulumMatrix/

Images

Matrix Trajectories

Keyboard Controls

  • Spacebar: Toggle between showing only the trajectories and showing the full pendulums. Also clears the background.
  • C: Clear the trajectories and reset the background.

License

This project is licensed as described in the LICENSE file.

About

Graphical simulation of a chaotic double pendulum using p5.js.

Topics

Resources

License

Stars

Watchers

Forks