xxxxxxxxxx
71
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220, 200, 50);
//face
ellipseMode(CENTER);
fill(182, 184, 241);
stroke(0);
strokeWeight(1);
ellipse(200, 200, 160, 180);
//outer eye
fill(255);
ellipse(240, 200, 25, 16);
ellipse(160, 200, 25, 16);
//eyebrows
fill(0)
rectMode(CENTER);
rect(240, 180, 40, 8, 10);
rect(160, 180, 40, 8, 10);
//hair
rect(155, 140, 70, 60, 70, 0, 100, 0);
rect(235, 140, 90, 60, 0, 70, 0, 100);
ellipse(220, 105, 50, 50);
//text
noStroke();
textSize(20);
text('portrait of my sister', 118, 350);
textSize(10)
text('please dont tell her', 118, 370);
//inner eye
stroke(1);
ellipse(160, 200, 16, 16);
ellipse(240, 200, 16, 16);
//lips
fill(80, 163, 27);
ellipse(200, 250, 30, 16);
line(185, 250, 215, 250);
//stem
stroke(255, 60, 100);
strokeWeight(1);
line(70, 290, 70, 400);
line(335, 80, 335, 400);
//flowers
noStroke();
fill(255, 60, 100);
ellipse(70, 290, 16, 16);
ellipse(335, 80, 16, 16);
//petal
stroke(255, 60, 100);
strokeWeight(5);
line(348, 80, 365, 80);
line(344, 70, 359, 60);
line(334, 66, 335, 50);
line(58, 295, 44, 303);
}