Snippets of code for Processing forum