xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
noStroke();
rectMode(CENTER);
for(let i=0; i<800; i++){
let x = random(width);
let y = random(height);
let diameter = random(y/10.0);
fill(random(100,170),random (150,255),random (100,153),100);
rect(x,y,diameter,diameter);
}
for(let i=0; i<800; i++){
let x = random(width);
let y = random(height);
let diameter = random((height-y)/10.0);
fill(random(99,105),random(45,90),random(0),100);
rect(x,y,diameter,diameter);
}
}