xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
for (let i = 0; i < 8; i++) {
for (let j = 0; j < 8; j++) {
fill((i + j) % 2 === 0 ? 255 : 0);
rect(i * 50, j * 50, 50, 50);
}
}
}