Builds on previous sketch, but nesting the pendulums. I don't think it is 100% correct, but it is fun. I don't love the implementation. I'd like to redo as a recursion with child pendulums.

  1. constructors now require an origin so pendulum can do own translation. I don't think this is a good approach. I'm betting the canvas can translate faster than my custom vector type.