Led by David Stein as a substitute for Dan Shiffman’s ICM class
let video;
function setup() {
video=createCapture(VIDEO);
video.hide();
}
function draw() {
background(220);
image(video,0,0,width,height);
}
It is possible to change the resolution when we capture the video. (Note I did not emphasize this in class)
function setup() {
createCanvas(400, 400);
video=createCapture(VIDEO);
video.size(100,100);
video.hide();
}