Bodysoulspirit's picture
Shared by on 2022.12.24 18:51

Finally, the double pendulum seems to be working pretty well 😍

Of course the code used is from Daniel Shiffmann from Daniel Shiffman at The Coding Train.

Seems the problem was indeed that the formulas require radians, but since Vuo require degrees for Sin & Cos, the acceleration and velocities where too high, spinning the whole thing out of control.
A degree to radian seems to fix it.

Code used : GitHub
YouTube Video : Coding Challenge #93: Double Pendulum

Next will be some damping and maybe drag and release the pendulum with the mouse.

Any critics or optimization welcome.

MIT License


Download composition

Binary Data Double Pendulum - 2022.12.26.vuo22.94 KB


Created as a simple test or demonstration

Tested with

Vuo version:
OS version:

Add comment

Log in or register to post comments