ZBuffer With Crazy Spinning Shapes!

Press 's' to show the grid that makes up this Terrific Torus, Stupendout Sphere, and Cutting-Edge cube!
Spinning Shapes inspired by Prof. Perlin Meshes example.
Source:
ZBuffer.java
Cube.java
Sphere.java
Torus.java
Light.java
Material.java
Matrix3D.java
MatrixStack.java
ParamSphere.java
PixApplet.java