Mimi Jiao Face Project

not sketch

function setup() {
    createCanvas(500, 650);
    background(255,225,0);
}

function draw() {
	/*noFill();
	stroke(0);
	curve(200,0,200,0,400,180,342,300);
	*/

	//hair
	fill(255,0,0);
	noStroke();
	rect(100,300,300,400);
	fill(255,0,0);
	rect(350,265,50,400);
	

	//neck
	noStroke();
	fill(255,78,78);
	rect(210,400,80,100);
	fill(0,0,255);
	ellipse(250,420,120,120);
	fill(255,0,0);
	rect(130,400,80,100);
	fill(255,0,0);
	rect(290,400,80,100);

	

	//face
	noStroke();
	//fill(255,0,0);
	fill(255,78,78);
	ellipse(250,300,300,300);


	//turtleneck
	fill(0,0,255);
	rect(200,490,100,30);
	fill(0,0,255);
	quad(200,520,300,520,450,620,50,620);
	fill(0,0,255);
	rect(50,620,400,100);


	//bangs
	fill(255,0,0);
	//curve(5, 26, 5, 26, 200, 240, 200, 240);
	
	arc(398, 180, 450, 190, HALF_PI, PI, CHORD);
	arc(250, 275, 300, 280,PI+QUARTER_PI,TWO_PI,CHORD);
	arc(250, 275, 300, 280,PI+QUARTER_PI,TWO_PI,CHORD);
	rect(350,265,50,280);
	arc(170, 300, 140, 280,PI,PI+HALF_PI,CHORD);
	//arc(140, 250, 40, 230,TWO_PI,TWO_PI+PI+HALF_PI,CHORD);
	rect(100,290,50,240);
	/*fill(0);
	stroke(20);
	point(180,200);
	point(150,290);
	point(100,290);
	point(155,170);
	*/
	quad(180,200,150,290,100,290,155,170);
	rect(155,179,25,25);

	//eyebrows
	fill(0);
	stroke(30);
	point(165,290);
	point(179,280);
	point(225,288);
	point(275,288);
	point(321,280);
	point(335,290);
	noFill();
	stroke(0,0,255);
	strokeJoin(ROUND);
	strokeWeight(10);
	beginShape();
	vertex(165, 290);
	vertex(179, 280);
	vertex(225,288);
	endShape();
	beginShape();
	vertex(275,288);
	vertex(321,280);
	vertex(335,290);
	endShape();

	//eyes
	point(184,310);
	fill(0,0,255);
	ellipse(195,315,45,20);
	noStroke();
	fill(255,255,0);
	ellipse(195,319,50,23);
	fill(0,0,255);
	ellipse(199,317,25,25);

	stroke(0,0,255);
	fill(0,0,255);
	ellipse(306,315,45,20);
	noStroke();
	fill(255,255,0);
	ellipse(306,319,50,23);
	fill(0,0,255);
	ellipse(310,317,25,25);

	//nose
	noStroke();
	fill(255,0,0);
	triangle(250,325,240,375,270,375);

	//mouth
	noFill();
	stroke(255,0,0);
	arc(255,395,70,10,0,PI,OPEN);

}

Lately neon and saturated bright colors have appealed to me a lot, so I used my current favorite colors to create a self portrait.

Leave a Reply