9-1 Graphic Transformation Matrices

This program demonstrates the use of graphic transformation matrices to translate, scale, and rotate a wire-frame cube in three dimensions.

To run the demo:

  1. Press the Run button to animate the cube.
  2. Press the Pause button, and then repeately press the Step button to single-step.
  3. Press the Reset button to restart the cube with a new (and perhaps more interesting) set of random translation and rotation parameters.
  4. The concatenated transformation matrix is displayed below.

The original Java Applets do not run in modern browsers, but you can download the Java code and run it locally on your desktop. Check back for JavaScript and Python versions - coming soon!


Download Demos in Java