xxxxxxxxxx
function setup() {
createCanvas(800, 800, WEBGL);
colorMode(HSB, 360, 100, 100, 100);
}
function draw() {
background(5);
noFill();
// stroke(184, 100, 82);
rotateX(frameCount * 0.01);
rotateY(frameCount * 0.01);
// box(45, 45, 45);
noStroke();
for (let i = 0; i < 60; i++) {
for (let j = 0; j < 60; j++) {
let x = i * 10;
let y = j * 10;
box(x, y, 20);
fill(random(360), 100,100);
// stroke(184, 100, 82);
// strokeWeight(3);
}
}
}