A bouncing ball in many languages Open GL 3D version
Click on the image for a Quicktime movie
Here is the C code :