xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
fill(255);
rect(width/2-250, height/2-45, 500, 90);
fill(42);
rect(width/2-120, height/2-45, 240, 90)
stroke(255);
strokeWeight(0.5);
for (let i = 0; i < 238; i+=17){
line(width/2-120+i,height/2-45, width/2-120+i, height/2+45);
}
for (let i = 0; i < 10; i++){
line(width/2-120,height/2-35+32*i, width/2-120+17*(2*i+1), height/2-45);
line(width/2+120,height/2-35+32*i, width/2+120-17*(2*i+1), height/2-45);
}
push();
strokeWeight(1);
fill(36,216,188);
translate(width/2, height/2);
rotate(radians(10.3)); // cyan arc (lower)
arc(0,0, 500, 500, 0, PI-QUARTER_PI+0.42, CHORD);
rotate(radians(180)); // cyan arc (upper)
arc(0,0, 500, 500, 0, PI-QUARTER_PI+0.42, CHORD);
fill (252, 94, 93); // dark pink arc
rotate(radians(23.5));
arc(0,0, 500, 500, 0, PI-QUARTER_PI-0.4, CHORD);
fill(255); // white arc
rotate(radians(14.5));
arc(0,0, 500, 500, 0, PI-QUARTER_PI-0.9, CHORD);
fill(252, 147, 142); // light pink arc
rotate(radians(8.6));
arc(0,0, 500, 500, 0, PI-QUARTER_PI-1.2, CHORD);
pop();
}