xxxxxxxxxx
function setup()
{
capture = createCapture(VIDEO);
capture.hide();
imageMode(CENTER);
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw()
{
image(capture, windowWidth/2, windowHeight/2);
filter(THRESHOLD, random(0,1));
}