// Exercise 2
// Sharon Chan
size(750, 500);
background(45, 41, 106);
//background layer colors
noStroke();
//purple
fill(81, 78, 142);
rect(20, 20, 400, 500);
//light light green
fill(210, 215, 201);
rect(30, 30, 650, 365);
//green
fill(163, 178, 133);
rect(50, 50, 600, 400);
//beige
fill(213, 196, 94);
rect(450, 10, 350, 410);
//lighter purple
fill(167, 174, 198);
rect(35, 380, 520, 80);
//medium purple
fill(121, 116, 177);
rect(70, 435, 525, 40);
//pale yellow
fill(216, 213, 160);
rect(320, 70, 390, 340);
//light blue
fill(101, 153, 181);
rect(210, 85, 410, 290);
//light light blue
fill(203,213,197);
rect(130,93,520,310);
//blue
fill(153, 186, 198);
rect(85, 100, 430, 290);
//green corner
fill(197, 201, 163);
rect(440, 460, 320, 30);
//pale yellow 2
fill(216, 213, 160);
rect(130, 150, 300, 200);
//cola brown
fill(221, 172, 83);
rect(143, 165, 190, 180);
//brown
fill(147, 92, 23);
rect(190, 160, 130, 170);
//left three lines
stroke(0);
strokeWeight(2.5);
line(30, 100, 100, 100);
line(30, 115, 100, 115);
line(30, 130, 100, 130);
//blue, green & yellow rectangle on top of line
fill(95, 127, 169);
noStroke();
rect(56, 73, 18, 18);
fill(60, 121, 93);
rect(62, 80, 15, 10);
fill(219, 193, 54);
rect(65, 85, 18, 25);
//red triangle
fill(175, 32, 59);
stroke(0);
strokeWeight(0.2);
triangle(130, 23, 116, 40, 230, 120);
//black diagonal
stroke(0);
strokeWeight(1);
line(100, 280, 160, 90);
//4 black lines on top of 4 red lines
stroke(0);
strokeWeight(1);
//line();
//3 red arcs on diagonal
//4 red lines on diagonal
stroke(200, 44, 57);
strokeWeight(2);
line(123, 115, 150, 125);
line(118, 125, 145, 135);
//line(106,120,136,126);
//line(104,122,134,128);
//green rectangle
stroke(0);
strokeWeight(.5);
fill(178, 195, 178);
//rect(75,340,55,45);
//grayish rectangle
//stroke(0);
//strokeWeight(.3);
//fill(195,195,189);
//rect(75,340,55,45);
//overlapping rectangles on green & gray
//black arc on bottom
stroke(0);
strokeWeight(1.5);
noFill();
arc(200, 280, 280, 280, PI/1.8, PI/1);
//black line in middle of arc
stroke(0);
strokeWeight(1.5);
line(40, 385, 160, 385);
//3 black diagonals
stroke(0);
strokeWeight(.75);
line(40, 370, 110, 340);
line(50, 480, 140, 365);
line(145, 480, 160, 400);
//yellow ellipse behind black circle above
noStroke();
fill(222, 206, 135);
ellipse(170, 250, 50, 50);
fill(231, 200, 57);
ellipse(170, 250, 40, 40);
//black ellipse with red outline
fill(43, 56, 77);
stroke(193, 43, 55);
strokeWeight(5);
ellipse(170, 250, 35, 35);
//yellow rectangle
noStroke();
fill(227, 201, 51);
rect(210, 180, 80, 160);
//black diagonal on top of rectangle
stroke(0);
strokeWeight(.55);
line(200, 390, 320, 290);
//pink arc
//stroke(0);
//strokeWeight(.65);
//fill(222,155,130);
//arc(270, 330, 70, 70, PI/2, PI+QUARTER_PI/1);
//black diagonal under rectangle
stroke(0);
strokeWeight(.44);
line(250, 470, 330, 300);
//4 lines under rectangle
stroke(0);
strokeWeight(2);
line(180, 340, 320, 340);
line(180, 345, 320, 345);
strokeWeight(1);
line(160, 353, 340, 353);
line(160, 360, 340, 360);
//black arc above rectangle
//stroke(0);
//strokeWeight(1.5);
//noFill();
//arc(275, 200, 130, 130, PI+QUARTER_PI, TWO_PI);
//yellow ellipse behind gray circle above
noStroke();
fill(215, 209, 139);
ellipse(330, 70, 90, 90);
fill(219, 196, 53);
ellipse(330, 70, 80, 80);
fill(200, 172, 44);
ellipse(330, 70, 70, 70);
//gray ellipse with black outline
fill(147, 151, 154);
stroke(0);
strokeWeight(3);
ellipse(330, 70, 55, 55);
//blue ellipse
noStroke();
fill(5, 59, 126);
ellipse(580, 200, 220, 220);
//green ellipse
noStroke();
fill(216,213,160);
ellipse(630, 200, 45, 45);
//pink quads
noStroke();
fill(212, 74, 84);
quad(360,120,490,105,500,390,410,430);
fill(156,62,73);
quad(330,250,600,200,595,290,355,340);
//purple ellipse
noStroke();
fill(97, 72, 105);
ellipse(450, 290, 180, 180);
//black quad
noStroke();
fill(154,153,137);
quad(360,170,410,200,380,260,320,230);
//diagonal on top of huge diagonal
stroke(0);
strokeWeight(1);
line(420, 32, 440, 340);
//four black triangles
noStroke();
fill(47, 52, 55);
triangle(355, 300, 370, 380, 450, 340);
fill(69, 45, 50);
triangle(440, 340, 430, 273, 510, 305);
fill(36, 55, 73);
triangle(500, 310, 515, 250, 560, 280);
fill(88, 90, 88);
triangle(555, 280, 560, 200, 610, 250);
//huge diagonal
stroke(0);
strokeCap(SQUARE);
strokeWeight(6);
line(350, 390, 620, 245);
//the big black squiggle
//ellipse behind black one
noStroke();
fill(183,180,155);
ellipse(590,420,65,65);
//other ellipse behind black one
noStroke();
fill(189,189,189);
ellipse(590,420,70,70);
//black ellipse
noStroke();
fill(0);
ellipse(590, 420, 40, 40);
//4 black lines
stroke(0);
strokeWeight(1);
line(670, 365, 730, 365);
line(670, 380, 730, 380);
line(670, 395, 730, 395);
line(670, 410, 730, 410);
0 notes