Soyunk – project 01 – face

sketch

//Soyun Kim
//Section D
//soyunk@andrew.cmu.edu
//Assignment-01

function setup() { 
   createCanvas(600,600);
   background(52,32,12);
}

function draw() {
    fill(206,178,92);
    strokeWeight(5);
    stroke(206,178,92);
    rect(190,500,220,100);
   
    fill(229,198,103);
    strokeWeight(5);
    stroke(229,198,103);
    ellipse(300,300,370,500);
    
    ellipse(110,315,55,105); //ear
    ellipse(488,315,55,105);
    fill(206,178,92);
    ellipse(110,308,30,50);
    ellipse(488,308,30,50);
   
    fill(52,32,12);
    quad(130,250,160,230,240,230,260,250);
    quad(335,250,355,230,440,230,465,250);
   
    fill('white');
    ellipse(195,285,90,42);
    ellipse(400,285,90,42);
   
    fill('black');
    ellipse(195,285,20,20);
    ellipse(400,285,20,20);

    fill(206,178,92);
    noStroke();
    triangle(276,363,302,258,329,363);
    ellipse(285,364,34,34);
    ellipse(318,364,34,34);

    fill(237,21,86);
    noStroke();
    triangle(230,430,287,412,311,430);
    triangle(295,430,319,412,376,430);
    quad(270,470,230,430,303,445,303,470);  
    quad(303,470,303,445,376,430,340,470);   

    fill(52,32,12);
    arc(43,47,596,370,0,HALF_PI); 
    arc(490,53,320,366,HALF_PI,PI);  

    


}

I wanted my background to be my hair and give a contrast to my round face and depict the lips and eyebrows pretty similar to my own. The main thing I struggled with the most was the process of creating the arcs to make my hair line.

Leave a Reply