project-01-face

sketch
The focus of my portrait was the everchanging mood and facial expression of myself.

function setup() {
    createCanvas(360, 540);
}
	//Canvas created in portrait format

function draw() {
	background(213, 207, random(0,255));
	//random background color in yellow hue expressing everchanging environment.

	noStroke();
	fill(165, 170, 247);
	ellipse(180, 200, 200, 300);

	fill(0);
	beginShape();
	curveVertex(160, 524);
	curveVertex(160, 524);
	curveVertex(180, 360);
	curveVertex(300, 290);
	curveVertex(360, 180);
	curveVertex(360, 180);
	endShape();
	//Curvature rather expressing the soul than the body.

	fill(200, 100, 100);
	triangle(110, 140, 127, 160, 90, 156);
	rect(200, 155, 70, 20, 1, 10, 20, 30);

	fill(0);
	ellipse(110, 200, 20, 20);
	ellipse(250, 190, 25, 40);

	fill(150, 243, 99);
	triangle(170, 210, 175, 240, mouseX, mouseY);
	//nose symbolises one's ego, which is never concrete, changing by circumstances.

	strokeWeight(40)
	stroke(255, 180, 0);
	fill(100, 200, 10);
	arc(170, 310, 100, 80, 10, 50);
}

function mousePressed() {
	loop();
}

function mouseReleased() {
	noLoop();
}
	//the ability to start and stop the whim, expressed through stopping of loop.

Leave a Reply