xxxxxxxxxx
85
function setup() {
createCanvas(400, 400);
}
function draw() {
background("grey");
stroke ("lightpink");
strokeWeight (6);
fill ("blue");
triangle (30, 150, 30, 100, 200, 150);
stroke ("white");
strokeWeight(2);
line (75,50, 75, 0);
line (75, 0, 100, 100);
line (100,100, 125, 0);
line (125,0, 150, 100);
line (150,100, 200, 20);
fill ("black");
stroke ("white");
strokeWeight(25);
rect(200, 200, 100, 150);
rect(20, 380, 200, 150);
stroke("white");
strokeWeight (10);
point (70, 90);
point (100, 60);
noFill();
strokeWeight (5);
bezier (70, 100, 150, 200, 70, 250, 200, 400);
stroke("black");
strokeWeight (5);
line(30, 20, 200, 200);
ellipse (200, 200, 20, 80);
stroke ("white");
strokeWeight(3);
arc (300, 40, 100, 100, 0, PI + QUARTER_PI, PIE);
noFill();
stroke("blue");
beginShape();
vertex(30, 280);
vertex(85, 280);
vertex(115, 380);
vertex(50, 380);
endShape(CLOSE);
strokeWeight (5);
stroke("white");
strokeWeight (5);
line(215, 212, 400, 400);
noFill();
stroke("white");
strokeWeight (5);
bezier (230, 230, 230, 330, 300, 260, 400, 400);
noFill();
stroke("pink");
line(30,20, 200, 20);
line(200, 150, 400, 150);
noFill();
stroke("pink");
curve(30, 20, 30, 20, 80, 50, 80, 50);
stroke(0);
curve(30, 20, 80, 50, 193, 65, 400, 147);
stroke("pink");
curve(80, 50, 193,65 , 400,147, 400, 147);
fill ("blue");
noStroke();
rect(50, 200, 55, 55, 10, 70, 10, 5);
}