You are here


Pendulum Physics and Code


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":

Box2D Planetary Gear Set


All the Box2D documentation says to use the automatic gear joint and not to mess with simulating gears this way it had to be done! A little trigonometry and fidgeting with sizes produced this simple planetary set: