SOURCE

let capture;
let c=0;
function setup() {
 createCanvas(640, 480);
 capture = createCapture(VIDEO);
	capture.hide();
	background(220);
	colorMode(HSB,360,100,100,1);
}

function draw() {
	c+=1.5;
	if(c>360){
		c=0
	}
	tint(c,100,100);
	image(capture,0,0,320,240);
	image(capture,320,0,320,240);
	image(capture,0,240,320,240);
	image(capture,320,240,320,240);
}
console 命令行工具 X clear

                    
>
console