## HOMEWORK DAY 2 – CODE

Geometric drawing in processing

void setup(){
size (900, 900);
background (244,239,193);

}

void draw(){

// first group of circles

stroke(0,0,0);
strokeWeight(7);
fill(255,255,255);
ellipse(187, 530, 270, 270);
stroke(0,0,0);
strokeWeight(7);
fill(0,0,0);
ellipse(330, 330, 580, 580);
stroke(255,255,255);
strokeWeight(14);
fill(0,0,0);
noStroke();
ellipse(330, 330, 20, 20);
stroke(61,74,88);
strokeWeight(30);
ellipse(330, 330, 280,280);
stroke(74,130,119);
strokeWeight(18);
ellipse(330, 330, 164,164);

//main lines group
strokeWeight(3);
stroke(0,0,0);
line (650, 500, 650, 200);
strokeWeight(5);
stroke(0,0,0);
line (620, 350, 750, 350);
strokeWeight(14);
stroke(0,0,0);
line (620, 370, 750, 370);
strokeWeight(5);
stroke(0,0,0);
line (620, 290, 750, 250);

// second grup of circles
noStroke();
fill(0,0,0);
ellipse(680, 650, 170, 170);
stroke(210,138,98);
strokeWeight(8);
fill(255,255,255);
ellipse(680, 650, 150, 150);

noStroke();
fill(0,0,0);
ellipse(846, 590, 170, 170);
stroke(210,138,98);
strokeWeight(8);
fill(255,255,255);
ellipse(846, 590, 150, 150);

//semicircles
stroke(0);
strokeWeight(8);
fill(0,0,0);
stroke(210,138,98);
strokeWeight(8);
fill(255,255,255);
stroke(0,0,0);
line (420, 660, 900, 480);

//arcs
//stroke(0);
//noFill();
//strokeWeight(4);

//Ask how I can rotate from one point not (0,0)
//strokeWeight(8);
//stroke(175,92,79);
//fill(255,255,255);

//triangle lower part
stroke (0,0,0);
noFill();
strokeWeight(16);
triangle(800,790,770,780,810,740);

//3 dots
noStroke();
fill(214,202,156);
ellipse(270, 730, 10, 10);
fill(214,202,156);
ellipse(300, 720, 10, 10);
fill(214,202,156);
ellipse(330, 710, 10, 10);
}