Project-01-Face

sketch
I tried to use multiple objects to represent the face to show its actual asymmetry. I used the shapes to create the outline and then simply just added differing colors afterwards.

function setup() {
    createCanvas(600, 600);
}

function draw() {
    background(155,22,10);
    //settings
    ellipseMode(CENTER);
    rectMode(CENTER);
    strokeWeight(0);
    //hair
    fill(1, 2, 5);
    rect(300, 200, 450, 300, 80);
    rect(300, 50, 200, 100, 75);
    //neck
    fill(237, 209, 185);
    strokeWeight(1);
    ellipse(300, 300, 480, 520);
    strokeWeight(0);
    rect(300,575,150,100);
    //ears
    ellipse(75, 300, 120, 175);
    ellipse(525, 300, 90, 134);   
    //mouth
    fill(219, 151, 180);
    rect(300, 450, 150, 50, 35,40,32,45);
    //eyes
    fill(123, 150, 186);
    ellipse(200, 230, 125, 160);
    fill(250, 248, 242);
    ellipse(400, 230, 175, 133);
    fill(150, 108, 29);
    ellipse(200, 230, 90, 60);
    fill(105, 145, 107);
    ellipse(400, 230, 70, 90);
    fill(0, 0, 0);
    triangle(200, 240, 220, 215, 180, 215);
    fill(232, 225, 144);
    triangle(400, 215, 420, 240, 380, 240);
    fill(232, 189, 144);
    //nose
    quad(300, 280, 240, 360, 300, 400, 350, 350);
    noFill();
    strokeWeight(1);
    line(300, 300, 300, 375);
    //eyebrows
    arc(150, 100, 200, 100, 0, HALF_PI);
    arc(450, 100, 200, 100, HALF_PI, PI);
}

Leave a Reply