xxxxxxxxxx
55
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
//Left top arch
fill ("pink")
background(0, 0, 0);
noStroke ();
bezier(200, 150, 180, 100, 145, 90, 120, 105);
//Right top arch
noStroke ();
bezier(200, 150, 220, 100, 255, 90, 280, 105);
//left middle curve
noStroke ();
bezier(120, 105, 70, 140, 95, 200, 110, 220);
//rightmiddle curve
noStroke ();
bezier(280, 105, 330, 140, 305, 200, 290, 220);
//bottom left curve
noStroke ();
bezier(110, 220, 130, 250, 175, 250, 200, 310);
//bottom right curve
noStroke ();
bezier(290, 220, 270, 250, 225, 250, 200, 310);
fill ("pink");
stroke("pink");
beginShape();
vertex(200, 150);
vertex(280, 105);
vertex(290, 220);
vertex(200, 310);
endShape(CLOSE);
stroke("pink");
fill ("pink");
beginShape();
vertex(120, 105);
vertex(110, 220);
vertex(200, 310);
vertex(200, 150);
endShape(CLOSE);
}