xxxxxxxxxx
20
let num = 10
let w = 20
let bColor = 10
function setup() {
createCanvas(600, 600);
frameRate(20);
}
function draw() {
background(bColor+5);
for (let y = 5; y < height; y = y + 30)
for (let x = 5; x < width; x = x + 30)
{
fill(random(x+5), random(y+5), random(x+5));
rect(x, y, w, w);
}
// noLoop();
}