import processing.serial.*; import processing.video.*; Capture video; int videoWidth = 640; int videoHeight = 480; void setup() { size(640, 480); frameRate(10); colorMode(HSB, 100, 100, 100); video = new Capture(this, width, height); video.start(); background(0); } void draw() { ephPercentage(); }