sketch
function setup() {
createCanvas(500, 300);
background(220);
text("p5.js vers 0.9.0 test.", 10, 15);
}
function draw() {
background(200, 64, 52);
strokeWeight(5);
stroke(223, 160, 125);
fill(230, 177, 138);
rect(227, 150, 50, 150);
fill(0);
ellipse(250, 120, 160, 150);
fill(230, 177, 138);
ellipse(width/2, height/2, 120, 160);
line(225, 180, 300, 220);
fill(200, 160, 130);
quad(200, 100, 210, 200, 240, 120);
fill(190, 150, 105);
quad(250, 100, 300, 200, 290, 110);
stroke(0);
ellipse(225, 125, 1, 1);
ellipse(270, 125, 1, 1);
}
For me, the most difficult part of the project was figuring out the coordinates for the quadrilaterals.