Box2D with Drawing Boxes and HTML5 Canvas

Draw:

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