xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
let taille = 18;
for (let y = taille; y <= windowHeight - (2 * taille); y += taille){
for (let x = taille; x <= windowWidth - (2 * taille); x += taille){
let hue = random(360);
fill(hue, 100, 100);
rect(x, y, taille, taille);
}
}
}