keuchuka-project01-portrait

// Fon Euchukanonchai
// keuchuka@andrew.cmu.edu
// 15-104
// 09/01/2017

function setup() {
	createCanvas(600, 600);
	background(255, 225, 100);
	}

function draw() {

//circle
	strokeWeight(0);
	fill(254, 230, 0);
	ellipse(380, 380, 600, 600);

//face	
	strokeWeight(0);
	fill(154, 154, 114);
	rect(400, 390, 290, 310);

	fill(118, 119,111);
	ellipse(410, 400, 380, 390);

	fill(132, 130, 91);
	ellipse(400, 400, 360, 380);

	fill(254, 245, 249);
	rect(390, 490, 150, 140);

	fill(254, 245, 249);
	ellipse(390, 410, 340, 370);

	fill(253, 253, 241);
	ellipse(380, 415, 310, 340);

//bangs
	push();
	fill(132, 130, 91);
	rotate(PI*0.2);
	ellipse(500, -50, 130, 20);
	pop();

	push();
	fill(132, 130, 91);
	rotate(PI*0.8);
	ellipse(-130, -410, 110, 20);
	pop();

//eyes
	fill(254, 230, 0);
	ellipse(240, 365, 110, 44);
	ellipse(400, 365, 110, 44);
	fill(222);
	ellipse(240, 365, 12, 35);
	ellipse(400, 365, 12, 35);

//mouth
	strokeWeight(3);
	stroke(254, 230, 0);
	line(200, 520, 370, 520);
	strokeWeight(0);
	fill(254, 230, 0);
	ellipse(280, 517, 70, 12);
	ellipse(337, 517, 70, 12);

//blush
	fill(253, 233, 241);
	ellipse(285, 410, 80, 20);
	ellipse(420, 410, 80, 20);

// dimple
	ellipse(400, 520, 20, 20);

//eyebrows
	push();
	fill(254, 230, 0);
	rotate(PI*0.04);
	rect(260, 280, 70, 10, 10);
	pop();

	push();
	fill(254, 230, 0);
	rotate(-PI*0.04);
	rect(300, 360, 80, 10, 10);
	pop();

	push();
	fill(254, 230, 0);
	rotate(PI*0.08);
	rect(480, 195, 50, 10, 10);
	pop();

//ears
	fill(254, 245, 249);
	ellipse(560, 400, 50, 100);
	fill(253, 253, 241);
	ellipse(550, 400, 40, 60);

//big hair
	fill(254, 230, 0);
	ellipse(938, 515, 700, 700);

//eyelashes
	noFill();
	strokeWeight(3.5);
	stroke(118, 119, 111);
	arc(238, 363, 110, 44, 3.3, 6.2);
	arc(402, 363, 110, 44, 3.3, 6.2);
	line(185, 350, 182, 345);
	line(200, 345, 198, 340);
	line(214, 343, 214, 338);
	line(457, 357, 463, 352);
	line(445, 348, 450, 342);
	line(431, 344, 433, 339);

//earrring
	fill(154, 154, 114);
	ellipse(562, 440, 5, 5);

	}

I created a portrait of myself using mainly ellipses, beginning with a sketch on illustrator.

Leave a Reply