yoonyouk-project01-face


yoonyouk-project01-face

//Yoon Young Kim 
//Section E
//Yoonyouk@andrew.cmu.edu
//Project-01

function setup() {
    createCanvas(500, 500);
    background(255, 204, 204);
    angleMode(DEGREES);


    //background strip
    noStroke();
    fill(153, 204, 255);
    rect(0, 125, 600, 225);

    //shoulder
    noStroke();
    fill(255, 153, 153);
    ellipseMode(CENTER);
    arc(230, 500, 150, 325, 180, 0);


   //headshape
    noStroke();
    fill(255, 229, 204);
    ellipseMode(CENTER);
    ellipse(200, 250, 200, 210);
    

    //nose
    noStroke();
    fill(255, 229, 204);
    triangle(110, 230, 115, 300, 85, 300);

    //eye
    noStroke();
    fill(256);
    ellipseMode(CENTER);
    ellipse(135, 248, 25, 25);

    //pupil
    noStroke();
    fill(102, 51, 0);
    ellipseMode(CENTER);
    ellipse(128, 253, 10, 10);

    //hair
    noStroke();
    fill(153, 76, 0);
    ellipseMode(CENTER);
    arc(210, 235, 220, 230, 200, 60, PIE);

    //ponytail
    noStroke();
    fill(153, 76, 0);
    ellipseMode(CENTER);
    arc(320, 235, 100, 230, 195, 90, PIE);    

    //eyebrow
    stroke(153, 76, 0);
    strokeWeight(3);
    noFill();
    arc(135, 228, 40, 25, 270, 360);

    //smile
    stroke(255, 153, 153);
    strokeWeight(5);
    noFill();
    arc(127, 300, 50, 50, 15, 90);


    //glasses
    stroke(120);
    strokeWeight(6);
    noFill();
    ellipseMode(CENTER);
    ellipse(125, 250, 25, 40);


    stroke(120);
    strokeWeight(6);
    noFill();
    arc(138, 263, 190, 30, 270, 360);

    stroke(120);
    strokeWeight(6);
    noFill();
    arc(100, 250, 30, 13, 270, 360);

    //ear
    noStroke();
    fill(255, 204, 153);
    arc(220, 265, 30, 40, 250, 90, CHORD);




}

function draw() {
}

 

Leave a Reply