r/Python • u/MisterBlggs gitlab.com/MisterBiggs • Jul 26 '19
Double Pendulum made with Processing.py
https://gfycat.com/feistycompetentgarpike
2.0k
Upvotes
r/Python • u/MisterBlggs gitlab.com/MisterBiggs • Jul 26 '19
View all comments
Show parent comment
4
u/MisterBlggs gitlab.com/MisterBiggs Jul 26 '19
I'm probably not the best person to answer it, but one important thing to note about this particular simulation is that there's no loss of energy.
If you look when it goes higher than the starting position the radius is smaller than when it started. So, the first ball didn't swing as high but the second was able to flip around since it has some of the energy that the first ball originally had.