VSync for Processing
This is the VSync library for the Processing platform. It can 'magically' synchronize variables on your Arduino with variables in your Processing sketch. Here You can find instructions on how to use it.
Download VSync for Processing version v0.1 (1) in .zip format.
Unzip and put the extracted VSync folder into the libraries folder of your Processing sketches. Reference and examples are included in the VSync folder.
Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.
Find a list of examples in the current distribution of VSync for Processing, or have a look at them by following the links below.