Project-01-Face

sketch

function setup() {
    resizeCanvas(500, 400);
    }

function draw() {

    background(255,192,203); //pink background
    fill(252,175,135); //skin color
    noStroke();
    ellipse(250,200,110,130); //head

    fill(256);
    ellipse(230,200,25,25);
    ellipse(270,200,25,25); //eyes white

    fill(48,32,19);
    ellipse(235,200,15,20);
    ellipse(275,200,15,20); //brown pupils

    fill(0); //eyelashes
    rect(235,190,7,2,5,5); //left eyes
    rect(240,195,5,2,5,5);
    rect(240,200,6,2,5,5);
    rect(275,190,7,2,5,5); //right eyes
    rect(280,195,5,2,5,5);
    rect(280,200,6,2,5,5);


    fill(0);
    arc(250,180,100,90,PI,TWO_PI); // top bangs
    rect(200,175,10,70,10,10); //left side long bang
    rect(290,175,10,70,10,10); //right side long bang
    rect(280,175,10,15,90,30); //middle bangs
    rect(270,175,10,15,90,30);
    rect(260,175,10,15,90,30);
    rect(250,175,10,15,90,30);
    rect(240,175,10,15,90,30);
    rect(230,175,10,15,90,30);
    rect(220,175,10,15,90,30);
    rect(210,175,10,15,90,30);

    fill(0);
    ellipse(250,125,50,50); //top bun

    fill(256); //coffee cup
    ellipse(250,250,150,45) //coffee top lid  
    ellipse(325,310,30,100) //handle outside
    fill(255,192,203);
    ellipse(325,310,10,85) //handle inside
    fill(256);
    rect(175,250,150,130,0,5); //cup body

    fill(40,26,13); //brown
    ellipse(250,250,140,35); //coffee liquid

}

For my self-portrait I decided to picture my head with an even bigger mug of coffee since I felt that represents me and my lifestyle. I used a lot of ellipses and arc for rounded objects (head, eyes, top of the mug, handle of the mug, etc) and rectangles (bangs from my hair, eyelashes, body of the mug). My process began with a lot of guess and check but once I figured out the coordinates I wanted it was easy to finish with more speed.

Leave a Reply