An Arduino-built theremin (rangefinder for note, photocell for duration of note, averaged values and a pitch shift button), via serial, controls the pixels and oscillating cells of a captured video on the Mac’s built-in iSight camera. Colour and oscillation are defined by the photocell (linked to duration of notes), brightness of each individual pixel in the captured video is defined by the rangefinder (linked to the tone/note), and the green value in the oscillating cells is defined by the switch, which (via pitch shifting the Arduino) also affects the serial inputs.
adjustbrightness = serialInArray; // rangefinder
colour = serialInArray; //photocell
angle = serialInArray; //photocell
greenValue = serialInArray; //button