Exhibit 2 2D Affine Transformations

Transformation Matrix
a11 = a12 = a13 =
a21 = a22 = a23 =
a31 = a32 = a33 =

Exercise

Modify the program so that in the left hand pane the same transformation is applied, but do it by changing the coordinates on the Javascript side using the facilities of the glMatrix library.