r/Python • gitlab.com/MisterBiggs • Jul 26 '19

Double Pendulum made with Processing.py

https://gfycat.com/feistycompetentgarpike
2.0k Upvotes

89 comments sorted by

View all comments

1

u/3nigma42 Jul 26 '19

Nice work, did you include any type of friction

1

u/MisterBlggs gitlab.com/MisterBiggs Jul 26 '19

Nope. I just used the same equation as Daniel Shiffmans video. I could be lazy and just multiply the velocity of the pendulum by .999 or something every frame so it would eventually stop but that's just making a random guess so I just left it frictionless.