xxxxxxxxxx
29
function setup() {
createCanvas(windowWidth, windowHeight);
noLoop();
}
function draw() {
background(220, 10, 120);
fill(250, 190, 0);
noStroke();
push();
translate(100, 100);
rotate(PI / 4);
scale(0.6);
ellipse(-35.5, -24, 100);
ellipse(35.5, -24, 100);
triangle(-80, 0, 80, 0, 0, 96);
pop();
push();
translate(250, 250);
rotate(PI / 8);
scale(1.6);
ellipse(-35.5, -24, 100);
ellipse(35.5, -24, 100);
triangle(-80, 0, 80, 0, 0, 96);
pop();
}