Since processing is primarily designed for creating graphics and visuals, so that's where I started.
To do this I once again used Processing's serial library functionality, to have it call in serial values being passed to the computer from the Arduino. With processing I was then able to give the serial values a variable called brightness, which will be changed by the values given from the Arduino.
By setting a background image in Processing using the RGB colour values, I have been able to control the intensity of the colour's value. This value is determined by the value being imported from the serial port, or in this case the capacitance from one of the plates.
Once the graphical window was defined with colours set to 100 for red, 0 for green and the variable "brightness" for blue.
Once the serial port is called in processing it is possible to manipulate what's on screen through the values it is reading.
As you can see this sketch is not that different from the original sketch used to print the values into Processing's console.
All that has been changed is the variable given to the serial data, and what Processing needs to do with it.First processing reads the values and buffers with a value until it detects a new line being given from the serial port.
Then all it does is look for a seralEvent, to which I have told Processing to read the string until a new line is made. (Or continuous serial values).
An example can be seen here.







