Pokéball Project
Here is a page showing a graphics project for drawing Pokéballs with Java.
Tank Controller
Here is the source code for the Lego tank robot demonstration's controller.
Random Dice
Here is a page showing some randomly-valued dice, drawn in <canvas> elements