The applets below demonstrate my 3D transform matrix class. The 3D transform matrix class can be set up to rotate, scale, skew, shear, translate, and change the view/perspective of three dimensional points. Operations can be composed so that these transformations can be combined.

The first applet represents a cow. The second applet is my initials.



To use the applets, simply choose your tool from the buttons, and the click to apply the transformation: rotation: click and drag to define the angle and axis of rotation translation, shear, skew, scale: click to define a vector from the center of the applet. orthographic/perspective: hit the button to switch the view.

Known bugs: I could not get the perspective to work properly. I therefore reduced it to just a flip of the y-axis. I was using the formula from slide 44 of lecture 12, but maybe this wasn't right?

Code:
Matrix3D.java
Point3D.java
TestMatrix.java