transformation matrix for points translations
Rotation
For rotation by an angle θ clockwise about the origin, the functional form is
and
. Written in matrix form, this becomes:
Similarly, for a rotation counter clockwise about the origin, the functional form is
and
and the matrix form is:
and
and the matrix form is:Scaling
For scaling (that is, enlarging or shrinking), we have
and
. The matrix form is:
When
, no change in size
, no change in size
when > 1 , size increases
when < 1 , size decreases
Shearing
For shear mapping (visually similar to slanting), there are two possibilities.
A shear parallel to the x axis has
and
. Written in matrix form, this becomes:
and
. Written in matrix form, this becomes:
A shear parallel to the y axis has
and
, which has matrix form:
and
, which has matrix form:




Comments
Post a Comment