import processing.video.*; Capture myCapture; void setup() { size(400, 300); // The name of the capture device is dependent those // plugged into the computer. To get a list of the // choices, uncomment the following line println(Capture.list()); //String s = "Intel USB Video Camera III-WDM"; myCapture = new Capture(this, s, width, height, 30); } void captureEvent(Capture myCapture) { myCapture.read(); } void draw() { image(myCapture, 0, 0); }