Multi-pendulum simulation

Completely mesmerized by this video, I found myself spending a better part of yesterday creating a version of it in Processing. Video above, source code here.