100 double pendula

100 double pendula


Daniel Shiffman created a fantastic description on creating a double pendulum with Processing here: https://youtu.be/uWzPe_S-RVE. I have created a class to make double pendulums so that i can make as many as i want.

The double pendulum is pretty interesting and i've been fascinated with them since I read Chaos by James Gleich and even more so after reading Foucault's Pendulum by Umberto Eco.

There's a lot you can do to play with pendulums, if you want to play with the code i've made here's the sketch you can clone: