sketch
//Sharon Lee
//Section E
//dayoungl@andrew.cmu.edu
//Project-01
function setup() {
createCanvas(400,600);
background(133,205,240);
angleMode(DEGREES);
}
function draw() {
//hair
fill(7,14,33);
noStroke();
ellipse(200,300,260,400);
//arms
fill(255,214,150);
noStroke();
rect(305,502,50,100);
fill(255,214,150);
noStroke();
rect(45,502,50,100);
//sleeves_left
fill(240,255,255);
noStroke();
ellipse(290,500,130,140);
fill(240,255,255);
noStroke();
quad(305,502,355,502,365,570,300,570);
//sleeves_right
fill(226,240,240);
noStroke();
quad(45,502,95,502,85,570,35,570);
fill(226,240,240);
noStroke();
ellipse(110,500,130,140);
//body
fill(240,255,255);
noStroke();
quad(105,430,300,430,320,600,80,600);
fill(226,240,240);
noStroke();
triangle(105,430,80,600,240,600);
//tshirt lines
stroke(255,207,81);
strokeWeight(7);
line(99,500,305,500);
stroke(207,0,0);
strokeWeight(4);
line(99,510,305,510);
//neck
fill(255,214,150);
noStroke();
rect(165,380,70,50);
fill(255,214,150);
noStroke();
ellipse(200,430,70,70);
fill(191,160,112);
noStroke();
arc(201,380,70,85,0,160);
//face shape
fill(204,171,120);
arc(195,230,185,350,0,180);
fill(255,214,150);
noStroke();
//ellipse(200,230,185,200);
arc(195,225,185,350,0,180);
//hair1
fill(7,14,33);
noStroke();
arc(110,160,240,200,0,100);
//triangle(107,230,165,200,293,230);
//eyes
fill(7,14,33);
noStroke();
ellipse(163,288,34,17);
fill(7,14,33);
noStroke();
ellipse(237,288,34,17);
fill(255,255,255);
noStroke();
ellipse(165,290,30,16);
fill(255,255,255);
noStroke();
ellipse(235,290,30,16);
//pupils
fill(7,14,33);
noStroke();
ellipse(random(160,170),290,12,12,);
fill(7,14,33);
noStroke();
ellipse(random(230,240),290,12,12);
//brows
stroke(7,14,33);
quad(142,270,179,270,180,272,139,272);
stroke(7,14,33);
quad(258,270,221,270,220,272,261,272);
//nose
stroke(255,186,130);
strokeWeight(4);
line(204,328,200,300);
stroke(255,186,130);
strokeWeight(3);
line(197,331,204,328);
//mouth
fill(232,108,150);
noStroke();
ellipse(200,360,10,10);
fill(161,44,75);
noStroke();
ellipse(200,362,8,6);
}