xxxxxxxxxx
32
function setup() {
createCanvas(windowWidth, windowHeight);
noLoop();
}
let x0 = 200;
let y0 = 115;
function draw() {
background(220, 10, 120);
fill(250, 190, 0);
noStroke();
x0 = 200;
y0 = 110;
ellipse(x0 - 35.5, y0 - 24, 100, 100);
ellipse(x0 + 35.5, y0 - 24, 100, 100);
triangle(x0 - 80, y0, x0 + 80, y0, x0, y0 + 96);
x0 = 100;
y0 = 280;
ellipse(x0 - 35.5, y0 - 24, 100, 100);
ellipse(x0 + 35.5, y0 - 24, 100, 100);
triangle(x0 - 80, y0, x0 + 80, y0, x0, y0 + 96);
x0 = 300;
y0 = 280;
ellipse(x0 - 35.5, y0 - 24, 100, 100);
ellipse(x0 + 35.5, y0 - 24, 100, 100);
triangle(x0 - 80, y0, x0 + 80, y0, x0, y0 + 96);
}