xxxxxxxxxx
100
function setup() {
createCanvas(500, 400);
//angles
angleMode(DEGREES)
}
function draw() {
background('rgb(186,108,186)');
//hair
fill('black')
rect(160,150,175,210)
circle(248,180,200)
ellipse(160,230,40,100)
ellipse(160,310,40,100)
ellipse(335,230,40,100)
ellipse(335,310,40,100)
//face
fill('rgb(246,211,172)')
ellipse(250,200,150,175);
noStroke();
//bangs
push()
fill('black')
rotate(-30)
ellipse(115,220,100,60)
rotate(70)
ellipse(310,-90,100,60)
pop()
//neck
fill('rgb(246,211,172)')
rect(237,258,30,50);
//eyes
push()
stroke('black')
fill('white');
ellipse(220,190,30,19)
fill('black');
circle(220,190,12)
fill('white')
circle(224,186,4)
pop()
push()
stroke('black')
fill('white');
ellipse(280,190,30,19)
fill('black')
circle(280,190,12)
fill('white')
circle(284,186,4)
pop()
//nose
stroke('black')
beginShape()
vertex(253, 210)
vertex(248,228)
vertex(255,233)
endShape()
//eyebrows
push()
strokeWeight(3)
arc(280,175,30,19,200,-20)
arc(220,175,30,19,200,-20)
pop()
//mouth
arc(260,250,30,19,360,150)
//shirt
fill('#00BCD4')
rect(173,305,150,210,45)
beginShape()
stroke('black')
vertex(205,345)
vertex(205,400)
endShape()
beginShape()
stroke('black')
vertex(290,345)
vertex(290,400)
endShape()
//earrings
noStroke()
fill('silver')
circle(322,223,12)
ellipse(322,223,8,15)
ellipse(176,223,8,15)
circle(176,223,12)
}