Project 1: My Self Portrait

Self Portrait
function setup() {
    createCanvas(500, 500);
    background(93,232,113);
}

function draw() {
    fill(0);
    rect(150,140,200,250);     //hair back

    fill(253,227,220);
    strokeWeight(0);
    ellipse(width/2,height/2,150,200);    //face

    fill(0);
    rect(150,150,200,60);    //hair 

    fill(225,199,190);
    triangle(250,250,240,300,260,300);    //nose

    strokeWeight(5);
    stroke(239,94,94);
    noFill();
    arc(250, 310, 40, 40, QUARTER_PI, PI);    //smile.  I feel like i can do a circle and the cover the top


    fill(245,249,255); 
    strokeWeight(0);
    ellipse(220,250,40,20);    //eye left
    ellipse(280,250,40,20);    // eye right

    fill(127,71,42);
    strokeWeight(0);
    ellipse(220,250,15);   //pupil left
    ellipse(280,250,15);    // pupil right 

    fill(253,227,220);
    rect(200,237,40,10);    //lid left
    rect(260,237,40,10);    //lid right

    fill(10)
    rect(200,235,40,2);   //eyebrow left
    rect(260,235,40,2);    //eyebrow right

    fill(93,232,113)
    triangle(220,100,50,100,70,300);
    triangle(500-220,100,500-50,100,500-70,300);


    noLoop()
}

Leave a Reply