Hw#1

selfportrait

 

 

void setup() {
  
  size(500,500);
  background(246,223,145);
  
   //hair
  fill(19,15,2);
  ellipse(250,160,290,280);
  
  //neck
  fill(226,188,121);
  noStroke();
  rect(220,306,50,50);
  
  //ears
  fill(226,168,121);
  ellipse(144,220,30,50);
  ellipse(355,220,30,50);
  
  
  //face
  fill(251,239,201);
  noStroke();
  ellipse(250,200,230,250);
  
  //hair2
  fill(19,15,2);
  rect(131,100,50,50);
  rect(180,80,15,60);
  rect(200,70,50,70);
  rect(250,70,30,66);
  rect(285,70,20,69);
  rect(314,96,50,40);
  rect(160,80,180,30);
  
  //glasses
  fill(246,152,127);
  rect(150,160,90,64,10);
  rect(265,160,90,64,10);
  fill(251,239,201);
  rect(159,168,73,48,9);
  rect(274,168,73,48,9);
  
  fill(246,152,127);
  rect(234,173,40,15);
  
  //nose
  fill(249,215,187);
  ellipse(248,245,20,40);
  fill(244,179,162);
  ellipse(248,250,18,30);
  
  //mouth
  fill(221,150,107);
  arc(235, 276, 70, 50, 0, PI+QUARTER_PI, OPEN);

  //cheek
  fill(251,227,201);
  ellipse(167,250,40,45);
  
  //eyes
  fill(19,15,2);
  ellipse(190,189,10,8);
  ellipse(310,189,10,8);
  
  //sweater
  fill(67,77,134);
  rect(199,340,83,50,15);
  rect(119,364,260,150,20);
  
  //patterns
  fill(22,24,41);
  ellipse(160,403,10,10);
  ellipse(180,403,10,10);
  ellipse(200,403,10,10);
  ellipse(220,403,10,10);
  ellipse(240,403,10,10);
  ellipse(260,403,10,10);
  ellipse(280,403,10,10);
  ellipse(300,403,10,10);
  ellipse(320,403,10,10);
  ellipse(340,403,10,10);
  
  ellipse(170,420,10,10);
  ellipse(190,420,10,10);
  ellipse(210,420,10,10);
  ellipse(230,420,10,10);
  ellipse(250,420,10,10);
  ellipse(270,420,10,10);
  ellipse(290,420,10,10);
  ellipse(310,420,10,10);
  ellipse(330,420,10,10);
 
  ellipse(160,440,10,10);
  ellipse(180,440,10,10);
  ellipse(200,440,10,10);
  ellipse(220,440,10,10);
  ellipse(240,440,10,10);
  ellipse(260,440,10,10);
  ellipse(280,440,10,10);
  ellipse(300,440,10,10);
  ellipse(320,440,10,10);
  ellipse(340,440,10,10);
  
  ellipse(170,460,10,10);
  ellipse(190,460,10,10);
  ellipse(210,460,10,10);
  ellipse(230,460,10,10);
  ellipse(250,460,10,10);
  ellipse(270,460,10,10);
  ellipse(290,460,10,10);
  ellipse(310,460,10,10);
  ellipse(330,460,10,10);
  
  ellipse(160,480,10,10);
  ellipse(180,480,10,10);
  ellipse(200,480,10,10);
  ellipse(220,480,10,10);
  ellipse(240,480,10,10);
  ellipse(260,480,10,10);
  ellipse(280,480,10,10);
  ellipse(300,480,10,10);
  ellipse(320,480,10,10);
  ellipse(340,480,10,10);
  
}

void draw() {

  println(mouseX);
  println(mouseY);
  
  
}

Comments are closed.