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.

Code Editor
Modified on April 9th, 2013
by Eric Rowell
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.
