an example in the Processing package provided by Veit Heller
a simple clone of Processing for GT. github