

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


































^
Translation ^
Rotation ^
Scaling ^
^
^
^
Pivot-Point Rotation ^
General Fixed-Point Scaling ^
Reflection and Shearing ^
Transformations Between Coordinate Systems
(t^ ,tx
) is referred to as translation vectory
^
^
^
tx x x^
ty y y^
sx x x^
sy y y^
sin
θ y- cos
θ
x x^
cos
θ y sin
θ y y^
y hx x x^
x hy y y^
Rotation involves a rotation angle androtation point ^
^
^
ty ) cos sy) (y sin sx) ((x y
tx ) sin sy) (y cos sx) ((x x
^
^
^
tx x x^
ty y y^
sx x x^
sy y y^
sin
θ y- cos
θ
x x^
cos
θ y sin
θ y y^
y hx x x^
x hy y y^
^
^
^
tx x x^
ty y y^
sx x x^
sy y y^
sin
θ y- cos
θ
x x^
cos
θ y sin
θ y y^
y hx x x^
x hy y y^
sy
y
sx x x
^ y
^
^
^
tx x x^
ty y y^
sx x x^
sy y y^
sin
θ y- cos
θ
x x^
cos
θ y sin
θ y y^
y hx x x^
x hy y y^
ty ) cos sy) (y sin sx) ((x y
tx ) sin sy) (y cos sx) ((x x
x^
axis has
x ' =
x^
+^ ky
and
y ' =
y
^
A shear parallel to the
y^
axis has
x ' =
x^
and
y ' =
y^
+^ kx
Many graphics applications require asequence of operations ^
An animation may require translation as wellas rotation ^
Matrix transformations may be represented inthe form
Represent a 2D Transformation by aMatrix ^
Apply the Transformation to a Point
x^ y d c
b a
x y
dy cx y
by
ax x
d c
b a