Theory of Computation & Computer Graphics — Two-Dimensional Transformation, NEC licence examination syllabus (Nepal Engineering Council).
The trigonometry you learned years ago, quietly running every time something spins on screen.
Set θ to 90° and watch the corner at (1,0) land on (0,1) — the worked example above, happening.
The matrix rotates about the origin, not about the shape. A shape sitting far from the origin does not turn on the spot — it travels along an arc, like a stone on the end of a string, and can end up somewhere completely unexpected.
This is the single most common mistake in exam questions on rotation. "Rotate the square about its own centre" is not what the plain rotation matrix does. You must translate the centre to the origin, rotate, then translate back — the same three-step pattern used for fixed-point scaling.Rotation preserves lengths, angles and areas — it is rigid, like translation. Its determinant is cos²θ + sin²θ = 1, which is the formal statement that area is unchanged. The inverse of a rotation by θ is a rotation by −θ, and because of that identity the inverse matrix equals the transpose, which is a favourite one-line exam question.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…