xxxxxxxxxx
29
let img;
const colsNum = 10;
const rowsNum = 10;
let colwidth;
let colheight;
//function preload() {
//img= loadImage('Assets/octopus small.jpg');
function setup() {
createCanvas(400, 400);
colwidth = width/colsNum;
colheight = height/colsheight;
const camOptions = {flipped: true};
}
function draw() {
background(220);
cam = createCapture(VIDEO, camOptions);
image(cam, 0, 0, width, height, 0, 0, cam.width, cam.height, COVER)
loadPixels();
for (letc = 0, c < colsNum; c++);
for(let);
}