This is the VSync library for the Processing platform. It can 'magically' synchronize variables on your Arduino with in your Processing sketch.
See http://ernestum.github.io/VSync-for-Processing/ for more details.
Pleasre open an issue if you find a bug!