xxxxxxxxxx
68
function setup() {
createCanvas(400, 400);
frameRate(15);
}
function draw() {
background('purple');
//ponytail
fill(0,205);
stroke(0);
strokeWeight(1);
bezier(201,126,280,20,276,247,268,344)
fill(255,204,153);
//ears
ellipse(150,206,20,40);
ellipse(250,206,20,40);
//head
ellipse(width/2,height/2,100,150);
//body
fill('pink')
rectMode(CENTER);
rect(200,352,125,125,25,25);
line(168,343,168,400);
line(232,343,233,400);
fill(255,204,153);
rect(200,283,25,19);
triangle(187,289,213,289,200,308);
line(200,308,201,340);
//eyes
fill(250);
ellipse(180,195,15,20);
ellipse(220,195,15,20);
noFill();
curve(175,230,167,190,194,190,200,230);
curve(180,240,206,190,235,190,220,220);
curve(200,170,167,200,194,200,200,150);
curve(200,155,206,200,235,200,200,170);
//eyebrows
curve(200,175,207,175,239,175,250,220);
curve(150,220,165,175,197,175,280,200);
//pupils
fill('black');
circle(180,194,10);
circle(220,194,10);
//nose
fill(250);
triangle(200,211,196,219,203,219);
//mouth
arc(198,245,random(5,20),random(10,20),0,PI);
//bangs
fill('black');
stroke(0);
bezier(211,126,165,124,153,152,136,191);
bezier(190,127,229,119,254,160,257,190);
}