Page 63 - PowerPoint Presentation
P. 63
Basic 2D Transformations
Basic 2D transformations as 3x3 matrices
' x 1 0 t x x ' x s x 0 0 x
' y = 0 1 t y ' y = 0 s 0 y
y y
1 0 0 1 1 1 0 0 1 1
Translate Scale
' x cos −sin 0 x ' x 1 sh x 0 x
' y = sin cos 0 y
' y = sh y 1 0 y
1 0 0 1 1 1 0 0 1 1
Rotate Shear