Car

I made this car to show my undergraduate students how 3D rendering works. In addition to teaching about 3D rendering and modeling, this example showed them several things: (i) how to implement sliders and buttons, (ii) how to interactively vary shape and dimension, (iii) how to describe color as either Red/Green/Blue (RGB) or Hue/Saturation/Value (HSV).

Instructions: Drag the mouse to change the camera view. Drag on the sliders to change dimensions and color. Note that if you vary RGB, then HSV will change, and if you vary HSV, then RGB will change.


Source code          
Car
SimpleRender
Shape
BufferedApplet
ColorSpace
Matrix
Vec
Slider
Button
Widget