Projective Texturing
Steven Wittens has created this excellent demo of the canvas element being used for projective texturing.
Perspective views are described by so-called projective transforms, which Canvas2D does not support. However, it does support arbitrary clipping masks as well as affine transforms of both entire and partial images. These can be used to do a fake projective transform: you cut up your textured surface into a bunch of smaller patches (which are almost-affine) and render each with a normal affine transform.
View the Projective Texturing demo



Related demos