In this Demonstration you can rotate a square, a triangle, or the letter L about the point
in the plane, choosing the coordinates
with the "translation by
" sliders or by dragging the point in the graphic. Change the angle
to see the rotation about the point .
matrix of the rotation is given by the product of three operations (from right to left): translation by
, rotation around the origin, and translation back by