This is a short piece of code that uses PyGame and PyLab to let users draw an occulting object, and watch the resulting transit.