2D & 3D Transformations
Chain translation, scaling, rotation and shear, and read off the composite matrix.
Starting shape with the identity matrix. Each transform pre-multiplies, so the composite becomes Mₙ · … · M₁.
step 1 of 4
transformedoriginal
Composite matrix
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | 1 |
Transform chain
Shape
Order matters: rotate-then-translate lands somewhere different from translate-then-rotate. Reorder the chain and watch the composite change.