Drawing the physics world in the canvas