Ron Mak @ Apropos Logic
Publications and books by Ronald Mak

Java Number Cruncher

Program 9-1

Graphic Transformation Matrices

This applet 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.