A demonstration of coordinate transformations with the HTML5 canvas element. Notice that y increases downward, θ is measured in the clockwise direction, and stroke widths are scaled along with everything else.