xxxxxxxxxx
28
function setup() {
createCanvas(600, 600);
let centerX
let centerY
}
function draw() {
background(199, 236, 242);
centerX=width/2;
centerY=height/2;
//bee
fill(240, 209, 72)
ellipse(60,65,40,20);
//hive
fill(245, 186, 24)
rect(centerX-40, centerY-60, 60, 160, 30);
rect(centerX-50, centerY-50, 80, 140, 30);
rect(centerX-60, centerY-40, 100, 120, 30);
rect(centerX-70, centerY-30, 120, 100, 30);
fill(0);
ellipse(centerX-10, centerY+20, 60, 80);
}