lukemattsonproject1
// Luke Mattson
// section A
function setup() {
createCanvas(600,600);
background(220);
text("p5.js vers 0.9.0 test.", 10, 15);
}
function draw() {
background(128,206,225); // background
fill(167,199,231);
strokeWeight(1);
stroke(140,170,220);
triangle(0,0,600,600,0,600);
stroke(0); // hair
fill(223,180,130);
ellipse(300,250,230,320);
fill(250,231,218); // ears
ellipse(412,276,30,60);
ellipse(188,276,30,60);
fill(250,231,218); // face
ellipse(300,300,230,320);
fill(245,245,245); // eyes
stroke(0);
strokeWeight(2);
circle(265,245,40,40);
circle(335,245,40,40);
fill(0,0,200,30);
circle(270,250,18,18);
circle(330,250,18,18);
line(300,260,310,300); // nose
line(310, 300,290, 295);
fill(255,160,160); // mouth
ellipse(300,350,25,35);
line(310,230,350,215); // eyebrows
line(290,230,250,215);
stroke(255,160,160,40); // blush
fill(255,160,160,40);
ellipse(240,325,30,50);
ellipse(360,325,30,50);
noFill(); // chin
strokeWeight(2);
stroke(0);
arc(300,425,70,40, 2*PI+1/8*PI, PI-1/8*PI);
stroke(255,255,255); // body
line(300,500, 300, 460);
line(300,500, 310, 510);
line(300,500,290,510);
line(300,480,310,470);
line(300,480,290,470);
noLoop();
}