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:
- Press the Run button to animate the cube.
- Press the Pause button, and then repeately press the Step button to single-step.
- Press the Reset button to restart the cube with a new (and perhaps more interesting) set of random translation and rotation parameters.
- The concatenated transformation matrix is displayed below.
