Daniel Teague – Project01 – Face

face_portrait

function setup() {
    createCanvas(600, 600);
    background(256);
    /*Daniel Teague - 15-104b - dteague@andrew.cmu.edu - project-01"*/;
}

function draw() {
    noFill();
    stroke(200, 152, 105);
    ellipse(300, 250, 150, 200);
    fill(0, 0, 0);
    stroke(0, 0, 0);
    ellipse(275, 200, 40, 25);
    fill(0, 0, 0);
    stroke(0, 0, 0);
    ellipse(325, 200, 40, 25);
    stroke(0, 0, 0);
    line(235, 200, 255, 200);
    stroke(0, 0, 0);
    line(345, 200, 365, 200);
    stroke(0, 0, 0);
    line(295, 200, 305, 200);
    stroke(256, 0, 0);
    noFill();
    arc(300, 275, 75, 75, 0, PI);
    stroke(0, 0, 0);
    arc(300, 335, 75, 150, 0, PI);
    stroke(0, 0, 0);
    line(300, 405, 300, 455);
    stroke(0, 0, 0);
    line(285, 420, 315, 420);
}

I can honestly say this was a lot of fun to do. Playing around with the code to get the results I wanted was interesting and funny at times. I almost had a Kermit the Frog at one point, because the eyes were on the top of the head instead of inside it. Looking forward to seeing what we will need to do in the future.

Leave a Reply