[Description] [Instructions] [Java Source] [Dave's Home Page] [Next Demo]
I first learned Java for a graduate course in graphics programming at NYU. At the time, the language was still in alpha, although during the course of that semester, the beta version came out. This applet was the final project for that course. It's not the best Java code on the planet, and not at all optimized for performance, but it works.
Arnold is a three-dimensional, articulated robot figure, drawn in wireframe, who can be positioned interactively by the user. The user can also use the keyboard to interactively reposition the camera to look at Arnold from any angle. Be patient; he draws himself very slowly!
[Top] [Description] [Instructions] [Java Source] [Dave's Home Page] [Next Demo]
Modifier | Key | Effect |
---|---|---|
none | up arrow | move camera forward |
down arrow | move camera backward | |
left arrow | turn camera left | |
right arrow | turn camera right | |
shift | up arrow | tilt camera upwards |
down arrow | tilt camera downwards | |
left arrow | slide camera left | |
right arrow | slide camera right | |
shift-ctrl | up arrow | slide camera upwards |
down arrow | slide camera downwards | |
left arrow | roll camera left | |
right arrow | roll camera right |
[Top] [Description] [Instructions] [Java Source] [Dave's Home Page] [Next Demo]
Matrix.java
Matrix2d.java
Matrix3d.java
Transformation2d.java
Transformation3d.java
Vector.java
Vector2d.java
Vector3d.java
[Top] [Description] [Instructions] [Java Source] [Dave's Home Page] [Next Demo]