Canvas Cheat Sheet

HTML5 Canvas Mirror Transform Tutorial

Discussion

To create a mirror transform using HTML5 Canvas, we can apply a negative scale in the x direction to flip the context horizontally, or we can apply a negative scale in the y direction to flip the context vertically.