// Uses camie file from Processing example Libraries | Video (Movie) | Loop import processing.video.*; // video library Capture cam; void setup() { size(640,720); smooth(); rectMode(CENTER); // load and start the camie cam = new Capture(this, 320, 240); cam.start(); } // Same as with images PImage filterContrast(PImage src) { PImage ret = new PImage(src.width,src.height); // make a new image float contrast = 0.01; // factor by which to push toward either 0 or 255 for (int i=0; i