
2D Transformations are operations used to change the position, size, or orientation of objects in a two-dimensional plane (X–Y plane).
2D Transformations are operations used to change the position, size, or orientation of objects in a two-dimensional plane (X–Y plane).
👉 These transformations are widely used in graphics applications like animation, games, and design.
A point in 2D is represented as: [ P(x, y) ]
After transformation, it becomes: [ P'(x', y') ]
Moves an object from one position to another without changing its shape or size.
[ x' = x + t_x,\quad y' = y + t_y ]
Where:
If (P(2,3)), (t_x=4), (t_y=1): [ P' = (6,4) ]
\begin{bmatrix}
1 & 0 & t_x
0 & 1 & t_y
0 & 0 & 1
\end{bmatrix}
\begin{bmatrix}
x
y
1
\end{bmatrix}
]
Changes the size of an object.
[ x' = x \cdot s_x,\quad y' = y \cdot s_y ]
Where:
[
\begin{bmatrix}
s_x & 0 & 0
0 & s_y & 0
0 & 0 & 1
\end{bmatrix}
]
Rotates an object around the origin (or any point).
[ x' = x \cos\theta - y \sin\theta ] [ y' = x \sin\theta + y \cos\theta ]
[
\begin{bmatrix}
\cos\theta & -\sin\theta & 0
\sin\theta & \cos\theta & 0
0 & 0 & 1
\end{bmatrix}
]
Flips an object across a line (mirror effect).
About X-axis [ (x, y) \rightarrow (x, -y) ]
About Y-axis [ (x, y) \rightarrow (-x, y) ]
About Origin [ (x, y) \rightarrow (-x, -y) ]
Distorts the shape of an object by shifting one coordinate.
[ x' = x + sh_x \cdot y,\quad y' = y ]
[ x' = x,\quad y' = y + sh_y \cdot x ]
[
\begin{bmatrix}
1 & sh_x & 0
0 & 1 & 0
0 & 0 & 1
\end{bmatrix}
]
A system that represents 2D points using 3 coordinates (x, y, 1) to simplify matrix operations.
Combining two or more transformations into one.
Rotate → then translate
👉 Multiply matrices in correct order: [ T = T_2 \cdot T_1 ]
⚠️ Order matters! Changing order changes result.
2D Transformations modify position, size, or shape
Main types:
Use matrices + homogeneous coordinates
Order matters in composite transformations
Widely used in graphics & animation
Open this section to view and download past papers
Click on Show Past Papers to load available exam papers.