The tutorials and references are a good place to start:
https://www.processing.org/