« previous | Monday, February 3, 2014 | next »
Affine Transformations as Matrices
This material will be on the midterm!
Goal is to construct matrix such that a matrix is multiplied by our input vector and a 2-coordinate vector that is added to our input vector.
Dot Product
2D Cross Product
Multiply by matrix
Translation
Our 2 × 2 matrix is just the identity matrix, and our -coordinates become our translation values:
In expanded notation:
Uniform Scaling
Non-Uniform Scaling
Rotation
Shear
Finding Affine Transformations
Image of 3 points determines unique affine transformation
Hence
Composing Transformations
Multiply all of the matrices together
Fractals and Iterated Affine Transformations
Fractals are recursion made visible:
A self-similar shape created from a set of contractive transformations