xxxxxxxxxx
19
function setup() {
createCanvas(400, 400);
background(255);
noLoop();
}
function draw() {
for(let i = 0; i <= 300; i += 10) {
for(let j = 0; j <= 300; j += 10) {
let r = random(0, 255);
let g = random(0, 255);
let b = random(0, 255);
fill(r, g, b);
noStroke();
rect(i, j, 10, 10);
}
}
}