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 https://processing.org/download/install-arm.sh | 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

https://hackaday.com/2015/11/15/proc...-raspberry-pi/