3D drawing project in Java

For a final project in my Computer Graphics class, I developed a short Java program which draws a cubical 3D enviroment and a sphere which bounces off the walls of the environment.

The program uses a perspective transformation algorithm to transform 3D coordinates into 2D drawing coordinates.

View the readme file which explains much of the techniques used.

Download the Java source.

I will also develop an applet version for display here and create an archive of compiled Java class files.

In theory, the setup of this program should be usable to draw any desired 3D object and display it in perspective view within the cube environment.
This would require editing the code to add appropriate methods for drawing the given object. Additionally, the methods used for drawing objects should be able to be simplified so that only one method is needed for drawing any desired object, given the shape data in an appropriate form.