xxxxxxxxxx
98
function setup() {
createCanvas(650, 590);
}
function draw() {
background(194,104,0);
noStroke();
//fill(random(248)-50,mouseX,random(148)-50);
frameRate(3)
fill(247, 211, 131);
ellipse(325,240,400,400);
noStroke();
fill(5,3,5);
ellipse(325,970,1050,1050); //hill
rect(245,310,160,150) //house
triangle(245,455,215,310,245,310);
triangle(405,310,435,310,405,455);
triangle(325,150,200,310,450,310);//roof
strokeWeight(15);
stroke(5,3,5);
line(320,150,191,310);
line(330,150,459,315);
strokeWeight(10);
line(325,150,325,80);
line(300,105,350,105);
noStroke();
fill(249,172,0);
arc(325,250,75,75,2*PI/2,4*PI/2);
arc(270,385,30,50, 2*PI/2,4*PI/2);
rect(255,385,30,35);
arc(380,385,30,50,2*PI/2,4*PI/2);
rect(365,385,30,35);
triangle(325,345,352,375,298,375);
stroke(249,172,0);
strokeWeight(3)
line(310,399,340,400);
strokeWeight(4);
line(310,400,310,440);
//pumpkins
noStroke();
fill(3,2,2)
ellipse(480,455,65,60);
fill(226,151,0);
ellipse(470,445,10,15);
ellipse(490,447,10,15);
ellipse(480,454,5,5);
arc(480,460,25,10,4*PI/2,2*PI/2);
//grave
fill(3,2,2);
rect(475,415,10,11);
arc(40,500,40,40,2*PI/2, 4*PI/2);
rect(20,500,40,50);
//tree
stroke(3,2,2);
strokeWeight(30);
line(110,520,80,300);
line(35,250,80,300);
line(90,370,140,280);
line(90,410,10,350);
line(100,430,140,390);
line(80,300,100,220);
strokeWeight(20);
line(90,340,35,310);
//60,380
}