//Aisha Dev
//Project 1
//Self-portrait
function setup() {
createCanvas(600,600);
background(211,156,110);
}
function draw() {
//face
fill(15,0,68);
noStroke();
triangle(0,0,0,300,100,0);
quad(0,400,110,400,170,600,0,600);
triangle (600,470,600,600,550,600);
//hair
noFill();
stroke(255,6,255);
strokeWeight(15);
bezier(400 - 90,0,500 -70,40 +50,450 -50,120 +100,600,180 +80);
bezier(400 - 50,0,500 -50,40 +20,450 -30,120 +50,600,180 +40);
bezier(400,0,500,40,450,120,600,180);
bezier(400 + 50,0,500 +40,40 -20,450 +30,120 -50,600,180 -40);
bezier(400 + 100,0,500 +60,40 -25,450 +60,120 -100,600,180 -80);
bezier(400 + 150,0,500 +80,40,450 +130,120 -150,600,180 -120);
//nose
stroke(190,130,90);
strokeWeight(15);
line(110,0,5,310);
line(0,395,130,395);
fill(190,130,90);
noStroke();
ellipse(100,370,60,60);
ellipse(30,380,40,40);
//lips
fill(234,42,42);
noStroke();
arc(160,515,100,70,PI,0,CHORD);
arc(225,515,100,70,PI,0,CHORD);
fill(209,90,90);
noStroke();
arc(193,515,160,90,0,PI,CHORD);
//earring
noFill();
stroke(250,230,0);
strokeWeight(5);
ellipse(580,380,60,60);
fill(250,230,0);
noStroke();
ellipse(580,420,20,20);
ellipse(561,415,20-3,20-3);
ellipse(599,415,20-3,20-3);
//eye1
fill(0);
noStroke();
ellipse(200,223,130,70);
fill(255);
noStroke();
ellipse(200,230,130,70);
fill(0);
stroke(61,31,31);
strokeWeight(15);
ellipse(200,230,40,40);
//eye2
fill(0);
noStroke();
ellipse(400,223,130,70);
fill(255);
noStroke();
ellipse(400,230,130,70);
fill(0);
stroke(61,31,31);
strokeWeight(15);
ellipse(400,230,40,40);
//eyebrows
noStroke();
quad(270,150,267,170,150,160,150,90+50);
quad(270+80,150,267+80,170,170+300,160,170+300,90+50);
}
I wanted to create something simple and bold, while playing with fun elements like colour. I didn’t want it to be a literal portrait, but a more abstract graphic illustration. I wanted each of the elements to be quite distinct so I could have fun playing with them later next week.