HTML5 Canvas Shear Transform Tutorial

To shear the HTML5 canvas, we can use the transform() method with the transformation matrix below.  sx defines the horizontal shear and sy defines the vertical shear.

Open in new window

Code Editor

Modified on April 9th, 2013 by Eric Rowell
comments powered by Disqus