Noni Shelton Project-01-Face

sketch

/*
Noni Shelton
Section B 10:30am
nshelton@andrew.cmu.edu
Face 01
*/

function setup() {
    createCanvas(600, 600);
    background(200);
    //skin tone
	fill(51)
    rect(100,100,100,420,300);
    fill(1);
    rect(53,53,500,550, 210);
    fill(90,35,5);
    ellipse(300,300,330,430);
    //eyes
    fill(12);
    ellipse(357,250,30,30);
    ellipse(237,250,30,30);
    //right side of glasses
    stroke(181,0,255);
    strokeWeight(10);
    noLoop();
    noFill();
    rect(196,220,70,70,10);
    //left side of glasses
    rect(326,220,70,70,10);
    //bridge to glasses
    fill(255,255,33);
    line(270,250,326,250);
   	//shirt
    noStroke();
    rect(211,520,180,170,50);
    fill(73,255,33); 
    point(300,300);
    //mouth
    noStroke();
    fill('red');
	arc(330,410,110,80,0,PI);
	fill(255);
	rect(284,410,94,12);
	//nose
	noStroke();
	fill(130,35,5);
	rect(280,295,40,85,79);
	//bangs
	fill(1);
	ellipse(350,127,200,145);
	//ear
	fill(90,35,5);
	ellipse(150,345,70,50);
	ellipse(450,345,70,50);
	//earrings
	fill(255);
	arc(130,360,20,20,0,PI);
	arc(470,360,20,20,0,PI);
}

function draw() {
}

Leave a Reply