Naomi Shimada – Project 01 – Face

Being a first time coder, this project was difficult.  However, by the end of the program I got into a rhythm and felt much more comfortable with the coding.

Screen Shot 2016-09-02 at 9.39.29 PM
(For some reason I couldn’t figure out the photo wouldn’t load, so above is a screenshot.)

 

sketch

function setup() {
    createCanvas(1000, 1000);
    background(0);
}

function draw() {
	
       fill(83,39,5);              //hair
    ellipse(500,500,800,2000);
    
       strokeWeight(0);
       fill(229,171,110);             //face
    ellipse(450,360,500,600);
    
        strokeWeight(0);
        fill(255);
    ellipse(350,300,90,70);         //white of the eye, right
    
        strokeWeight(0);
        fill (159,56,19);           //brown
    ellipse(350,300,50,50);
    
        strokeWeight(0);
        fill(255);
    ellipse(550,300,90,70);           //white of the eye, left
    
        strokeWeight(0);
        fill (159,56,19);             //brown
    ellipse(550,300,50,50);
        
        strokeWeight(0);
        fill(217,155,88);         //bridge of the nose
    triangle(450,300,475,420,405,420); 

        strokeWeight(0);
        fill(251,169,209);                   //cheek L
    quad(500,380,590,380,590,450,500,450);
  
        strokeWeight(0);
        fill(251,169,209);                   //cheek R
    quad(280,380,380,380,380,450,280,450);

        fill(83,39,5);                //hair swoop
    ellipse(400,100,530,200);

        strokeWeight(10);           //Right eyebrow 1
        stroke(83,39,5); 
    line(400,255,375,245);
        
        strokeWeight(10);           //Right eyebrow 2
        stroke(83,39,5); 
    line(375,245,335,245);

        strokeWeight(10);           //Right eyebrow 3
        stroke(83,39,5); 
    line(335,245,300,255);

        strokeWeight(10);           //Left eyebrow 1
        stroke(83,39,5); 
    line(500,255,525,245);
        
        strokeWeight(10);           //Left eyebrow 2
        stroke(83,39,5); 
    line(525,245,565,245);

        strokeWeight(10);           //Left eyebrow 3
        stroke(83,39,5); 
    line(565,245,595,255);

        fill(226,52,123);            //barrett 1
    ellipse(800,225,100,100);

        stroke(226,52,123);
        fill(226,52,123);            //barrett L
    triangle(850,225,890,160,910,270);

        stroke(226,52,123);
        fill(226,52,123);            //barrett R
    triangle(750,242,690,200,710,320);
         
         strokeWeight(0);          //lower lip
         fill(201,2,77);
    quad(360,520,540,520,500,550,400,550);

         strokeWeight(0);         //upper lip R
         fill(201,2,77);
    triangle(360,520,420,490,455,520);
 
         strokeWeight(0);         //upper lip L
         fill(201,2,77);
    triangle(540,520,470,490,440,520);

         strokeWeight(0);         //neck
       fill(229,171,110); 
    rect(375,630,150,200);
       
       strokeWeight(0);         //body
       fill(128,30,80); 
    ellipse(480,980,660,400);

       // stroke(83,39,5);
       // strokeWeight(10);  
    //ine(350,80,800,400);

       // stroke(83,39,5);
       // strokeWeight(10);  
   // line(370,80,800,300);

     
    
}

Leave a Reply