Bring the third dimension to a two-dimensional HTML5 canvas