Cora Hickoff Self Portrait

Cora Self Portrait

//Cora Hickoff
//Section C 9:30AM-10:20AM
//chickoff@andrew.cmu.edu
//Project-01

function setup() {
    createCanvas(500,600);
    background(167,171,198);
}

function draw() {

    //face
    fill(255,255,255)
    noStroke(0)
    rect(175,120,160,240,50);

    //nose
    fill(247,216,180)
    noStroke(0)
    ellipse(225,250,15,40);

    //top of nose
    fill(255,255,255)
    noStroke(0)
    ellipse(225,237,15,40);

    //freckle blush
    fill(255,227,225)
    ellipse(230,230,60,20);

    //freckle 1
    fill(185,149,108)
    ellipse(215,230,4,4);

    //freckle 2
    fill(185,149,108)
    ellipse(230,225,3,3);

    //freckle 3
    fill(185,149,108)
    ellipse(240,234,3,3);

    //freckle 4
    fill(185,149,108)
    ellipse(250,234,4,4);

    //gold stripe 1
    fill(255,196,66)
    rect(220,360,70,20);

    //white stripe 1
    fill(255,255,255)
    rect(220,380,70,20);

    //gold stripe 2
    fill(255,196,66)
    rect(160,400,200,20,10);

    //white stripe 2
    fill(255,255,255)
    rect(140,415,235,20,10);

    //gold stripe 3
    fill(255,196,66)
    rect(135,435,245,20,10);

    //left gold sleeve stripe 1
    fill(255,196,66)
    rect(125,440,20,180,10);

    //left white sleeve stripe 1
    fill(255,255,255)
    rect(140,440,20,180,10);

    //left gold sleeve stripe 2
    fill(255,196,66)
    rect(160,440,20,180,10);

    //right gold sleeve stripe 1
    fill(255,196,66)
    rect(330,440,20,180,10);

    //right white sleeve stripe 1
    fill(255,255,255)
    rect(350,440,20,180,10);

    //right gold sleeve stripe 2
    fill(255,196,66)
    rect(370,440,20,180,10);

    //gold shirt square
    fill(255,173,10)
    rect(180,440,160,160);

    //mouth
    fill(0,0,0)
    ellipse(250,320,40,12);

    //tooth
    fill(255,255,255)
    noStroke(0)
    rect(241,313,6,7,1);

    //left eye
    fill(255,255,255)
    stroke(0)
    strokeWeight(2)
    translate(width/2,height/2)
    rotate(PI/4.0)
    ellipse(-136,-70,15,30);

    //right eye
    fill(255,255,255)
    stroke(0)
    strokeWeight(2)
    translate(width/150,height/8)
    rotate(HALF_PI/1.0)
    ellipse(-179,-2,15,20);

}

I started this project by first drawing a sketch of what I wanted to create. I then simplified it into the shapes that I’d program. Even though my original plans changed as once I started, I learned to adapt with the process and realize that it’s okay for things to go wrong. Sometimes the unexpected happens and the work is better than it would have been had everything gone to plan.

Leave a Reply