Complete revamp to use Processing first and send the data over serial to the arduino. A small amount of work to do on the Processing side to send the data.