Project 1.
sketch
// Susie Kim
// Section A
function setup() {
createCanvas(600, 600);
background(255);
text("p5.js vers 0.9.0 test.", 10, 15);
}
function draw() {
noStroke();
// background color through circles!
fill(177,156,217);
ellipse(random(0,600), random(0,600),random(0,100),random(0,100));
ellipse(random(0,600), random(0,600),random(0,100),random(0,100));
ellipse(random(0,600), random(0,600),random(0,100),random(0,100));
// hair
fill(0);
ellipse(300,400,250,350);
// body
fill(128,0,128);
ellipse(300,600,390,340);
// neck
fill(236,188,180);
rect(245,395,110,100,35);
// ears
ellipse(210,360,35,45);
ellipse(390,360,35,45);
// face
ellipse(300,350,170,200);
// eyes
fill(0);
ellipse(260,340,15);
ellipse(335,340,15);
//blush
fill(255,127,156);
ellipse(260,361,21,13);
ellipse(335,361,21,13);
// nose
fill(197,140,133);
ellipse(300,360,20,10);
// mouth
strokeWeight(5);
stroke(0);
line(290,380,310,380);
// eyebrows
strokeWeight(3);
line(250,320,270,320);
line(325,320,345,320);
}