xxxxxxxxxx
function setup() {
createCanvas(windowWidth,windowHeight);
background(75,72,72,100);
noStroke();
rectMode(CENTER)
let x=windowWidth;
let y=windowHeight;
fill(520,209,220,150);
rect(0,0,x,y*2);
for (let i=0;i<100;i++){
let x=random(width/2);
let y=random(height/2);
let w=random((x+y)/10.0);
fill(random(62,80),random(0,299),random(220,250),150)
rect(x,y,w,w)
}
for (let i=0;i<100;i++){
let x=random(width/2);
let y=random(height/2)+height/2;
let d=random((height-y)/4.0);
ellipse(x,y,d,d)
fill(random(220,230),random(62,193),random(0,90),150)
}
for (let i=0;i<100;i++){
let x=random(width/2)+width/2;
let y=random(height/2)+height/2;
let w=random((width-x)/3.0);
let h=random((height-y)/3.0);
fill(random(0,107),random(0,80),random(70,90),150)
rect(x,y,w,h)
}
for (let i=0;i<100;i++){
let x=random(width/2)+width/2;
let y=random(height/2.3);
let d=random(y/3);
let b=random(y/3);
fill(random(117,125),random(0,90),random(0,100),150);
ellipse(x,y,d,b)
}
}