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
Attachment | Size |
---|---|
![]() | 22.94 KB |
License
Created as a simple test or demonstration
Tested with
Vuo version:
OS version:
Add comment