You know Processing? It is the programming language and IDE aimed at the electronic arts, new media art, and visual design communities. [Gottfried Haider] recently got Processing working on the Raspberry Pi and included a hardware input/output library to manipulate the Piís I/O pins.
If you want to experiment with Processing, you can download it right on your Pi with the following command:
curl | sudo shYou can also download it from the download page. Thereís a specific tutorial available or you can watch some general videos on Processing