Transforms is a simple applet that demonstrates the basics of geometric transforms. It displays a simple rendering of a face, and allows the user to transform the image using the mouse. Each transform operates by compositing a sequence of appropriate matrices, and applying the resulting matrix to a homogenous 2d vector.

Left Mouse Button
Controls the x-y translation of the object
Right Mouse Button
Scales the object
Center Mouse Button
Rotates the object (when moving horizontally)

The source for Transforms is in the files:

Copyright © 2003 Christopher DeCoro