xxxxxxxxxx
112
function setup() {
createCanvas(400, 400);
}
function mousePressed() {
save("art-attempt-1.jpg");
}
function draw() {
background(220);
//Back Hair
fill("Black");
circle(200,150,250);
fill("Black");
rect(110,210,175,175,30);
//Neck
fill("Peru");
square(170,230,55,20);
fill("Peru");
square(170,250,55,20);
//Hands and Clothing
fill("Peru");
rect(130,260,40,140);
fill("Peru");
rect(230,260,40,140);
fill("DarkRed");
rect(156,250,85,190);
fill("Black");
rect(156,310,85,35);
//bracelets
fill("Gold");
rect(130,370,27,10);
fill("Gold");
rect(240,370,30,10);
//face
fill("Peru");
noStroke();
circle(200,150,200);
//eyes1
fill("white");
noStroke();
rect(200,100,80,90,30);
fill("DarkRed");
circle(240,150,60);
fill("Black");
circle(240,150,30);
fill("white");
circle(250,145,10);
fill("white");
circle(230,155,10);
//eyes2
fill("White");
rect(110,100,80,90,30);
fill("SaddleBrown");
circle(150,150,60);
fill("black");
circle(150,150,30);
fill("white");
circle(141,157,10);
fill("white");
circle(160,144,10);
//Bangs
fill("Black");
noStroke();
rect(100,50,200,90,40);
//glasses
fill("white");
rect(189,40,20,5);
stroke("red");
strokeWeight(4);
noFill();
circle(150,40,80);
circle(250,40,80);
//Mouth
fill("LightPink");
stroke(4);
strokeWeight(4);
rect(173,190,45,45,20);
//BubbleGum
fill("DeepPink");
noStroke();
rect(163,190,45,45,40);
}