xxxxxxxxxx
function setup(){
createCanvas(windowWidth,windowHeight);
background(30);
noStroke();
for (let i=0 ; i<50 ; i++){
let x = random(width/2);
let y = random(height/2);
let w = random((height-y)*0.2);
let cr = random(127);
let cg = random(255);
let cb = random(127,255);
let ca = random(100);
fill(cr,cg,cb,ca);
ellipse(x , y , w , w);
}
for (let i=0 ; i<50 ; i++){
let x = random(width/2);
let y = random(height/2);
let w = random((height-y)*0.15);
let cr = random(127);
let cg = random(127,255);
let cb = random(127);
let ca = random(100);
fill(cr,cg,cb,ca);
rect(width-x ,y , w , w);
}
for (let i=0 ; i<50 ; i++){
let x = random(width/2);
let y = random(height/2);
let w = random((height-y)*0.2);
let cr = random(127,255);
let cg = random(255);
let cb = random(255);
let ca = random(100);
fill(cr,cg,cb,ca);
ellipse(width-x , height-y , w , w);
}
for (let i=0 ; i<50 ; i++){
let x = random(width/2);
let y = random(height/2);
let w = random((height-y)*0.15);
let cr = random(127,255);
let cg = random(127,255);
let cb = random(127);
let ca = random(100);
fill(cr,cg,cb,ca);
rect(x ,height-y , w , w);
}
}