This is one of the first projects I did with Processing:
I later adapted the same code to Processing on Android with the Ketai library and used the sliders as a general controller for LEDs, my robots etc.
Once you grasp serial communications and serial over Bluetooth this gets easier to work with.
Start with simple examples and build on that.
I used the Processing slider examples and not a library for this.
:)