HTML5 game: Balance an inverse pendulum. Uses EaselJS and Box2DWeb libraries