Basic 2D Transformations
Translation:
x’ = x + tx
y’ = y + ty
Scale:
x’ = x * sx
y’ = y * sy
Shear:
x’ = x + hx*y
y’ = y + hy*x
Rotation:
x’ = x*cosQ - y*sinQ
y’ = x*sinQ + y*cosQ
x’ = x*sx
y’ = y*sy
(x,y)
(x’,y’)
Previous slide
Next slide
Back to first slide
View graphic version