30
70

Box2D with Impulse and HTML5 Canvas

Read matching blog post for explanation

Black dot is the position of the object, the yellow dot is the center of mass.