xxxxxxxxxx
30
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
beginShape();
vertex(90, 10);
vertex(20, 80);
vertex(35, 10);
vertex(80, 50);
vertex(80, 100);
vertex(100, 100);
endShape();
line(90, 80, 0, 200);
text("hello", 120, 140, 90, 100);
arc(80, 240, 40, 80, HALF_PI, TWO_PI);
arc(200, 200, 90, 100, HALF_PI - QUARTER_PI, TWO_PI);
textSize(20);
text("text", 250, 200, 100, 50);
}