Week #1 — Bouncing Balls

Java2D

Includes angular velocity calculations. Compare the effects on the ball under conditions of No Spin, Top Spin and Back Spin.

Use WebStart to run: ball.jnlp
Or, if that doesn't work run from the jar: java -jar ball.jar

C/Glut/OpenGL

Simple 3D simulation. Left click to rotate the eclosing cube.

Python/OpenGL

The same OpenGL simulation from above, but done using python OpenGL bindings.

Python/wxPython

I heard a lot of good things about wxPython and even used it recently in a project that needed a simple GUI. I was less than impressed with its drawing capabilities.

Perl SVG

An alternative to the postscript approach. The perl script generates SVG (an XML based vector graphics format).