Sometimes it's nice to forget about 3rd party components, big clunky libraries, the Facebook API, etc. and just simulate a simple physical system from first principles. Here's "mass on a string":
All the Box2D documentation says to use the automatic gear joint and not to mess with simulating gears this way ...so it had to be done!