Project01-Face Sofia Syjuco

sketch

// Sofia Syjuco
// Section A, 9:30-10:20AM
// smsyjuco@andrew.cmu.edu
// Project01-Face

function setup() {
    createCanvas(600, 600);
    background (237,239,228);
}

function draw() {

    noStroke ();

    // hair back
    fill (46,29,6);
    ellipse (300, 340, 200, 300);

	// face
    fill (210,180,140);
    ellipse (300, 300, 160, 200);

    // hair front
    fill (46,29,6);
    ellipse (300, 248, 180, 100);

    // eyes
    fill (255,255,255);
    ellipse (260, 320, 40, 20);
    ellipse (340, 320, 40, 20);
    fill (46,29,6);
    ellipse (260, 320, 10, 10);
    ellipse (340, 320, 10, 10);

    // nose
    fill (231,133,111);
    ellipse (300, 340, 15, 20);

    //mouth
    fill (179,73,55);
    ellipse (300, 370, 27, 12);

    //neck
    fill (210,180,140);
    rect (285, 390, 30, 40);

    // shirt
    fill (0,0,0);
    rect (200, 430, 200, 100);


	}

I learned a lot about using different shapes in this project, and especially about placing them in the canvas. I ran into some difficulties embedding it, but I figured out that any fill colors that used strings ignored the strings, and used the color values of whatever was color filled before. I’m overall very pleased with the outcome, as it taught me a lot, and I think gave me a solid foundation for further works.