let speed = 3;
let d = 90;
let e = 50;
let x;
let y;
let c=0;
let z =2;
let s =2;
let a =2;
let b =2;
function setup(){
createCanvas(480,480);
x = width/2;
y = height/2;
colorMode(HSB,360,100,100,1);
background(0);
}
function draw(){
c+=0.1;
if(c>360){
c=0;
}
noStroke();
fill(random(360),c,100,100,0.5);
x += random(-speed,speed);
y += random(-speed,speed);
x = constrain(x,0,width);
rect(x,y,d,d);
stroke(255);
fill(c,100,100,0.5);
x += random(-speed,speed);
y += random(-speed,speed);
x = constrain(x,0,width);
ellipse(x,y,d,d);
stroke(random(360),100,100);
fill(c,100,100,0.5);
z += random(-speed,speed);
s += random(-speed,speed);
z = constrain(z,0,width);
ellipse(z,c,e,e);
stroke(random(360),100,100);
strokeWeight(20);
fill(c,100,100,0.5);
a += random(-speed,speed);
b += random(-speed,speed);
a = constrain(a,0,width);
triangle(z,c,d,d);
}
console