import processing.video.*; Capture video; void setup() { size (640, 480, P3D); imageMode(CENTER); smooth(); video = new Capture(this, 640, 480); video.start(); frameRate(30); } void draw() { int angle = mouseX+1; background (255); video.read(); translate (width/2, height/2); for (int i=0;i