Project 01- Self portrait

this is what I look like in the morning

sketch

function setup() {
    createCanvas(200, 200);
    background(220);
    text("p5.js vers 0.9.0 test.", 10, 15);
}

function draw() {
	background(184,238,147);
	fill(0);
	rect(67,98,69,77);
	ellipse(101,100,69,64);
	fill(226,197,159);
	rect(82,130,39,42);
	fill(255,132,132);
	ellipse((width/2),195,157,71);
	fill(240,207,161);
	ellipse(101,120,55,64);
	fill(240,207,161);
	noStroke();
	ellipse(101,105,58,51);
	fill(0);
	rect(109,102,14,3);
	rect(81,102,14,3);
	fill(255,160,159);
	ellipse(102,123,10,7);
	strokeWeight(1);
	fill(250);
	ellipse(116,111,12,8);
	ellipse(89,111,12,8);
	fill(0);
	ellipse(116,111,5,7);
	ellipse(89,111,5,7);
	fill(255,0,0);
	arc(102,135,14,8,0,PI);
}

Leave a Reply