Double Pendulum in fewer than 100 lines of JavaScript
Cool.<p>Feature request: mount the pivot on a programmable cart. It'd be fun to write software to balance the double pendulum.<p>e.g. <a href="https://www.youtube.com/watch?v=B6vr1x6KDaY" rel="nofollow">https://www.youtube.com/watch?v=B6vr1x6KDaY</a><p>and, balancing a triple pendulum: <a href="https://www.youtube.com/watch?v=cyN-CRNrb3E" rel="nofollow">https://www.youtube.com/watch?v=cyN-CRNrb3E</a>