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:
- 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.
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!