xxxxxxxxxx
29
function setup() {
createCanvas(500, 500);
}
function draw() {
background(220);
noFill();
strokeWeight(2);
arc(200,150,50,50,HALF_PI,PI+HALF_PI+QUARTER_PI);
arc(200,200,50,50,PI+HALF_PI,HALF_PI+QUARTER_PI);
fill(0);
circle(200,150,20);
circle(200,200,30);
line(250,125,250,225);
line(250,125,290,175);
line(290,175,330,125);
line(330,125,330,225);
triangle(255,140,300,195,255,195);
triangle(325,140,325,217,294,177);
beginShape();
vertex(255,200);
vertex(303,200);
vertex(320,220);
vertex(255,220);
endShape(CLOSE);
noFill();
strokeWeight(3);
rect(150,100,210,150);
}