To reset the HTML5 Canvas transformation matrix, we can use the setTransform() method to set the transformation matrix to its default state using the following convention:

Code Editor
Modified on April 9th, 2013
by Eric Rowell