Modify a text file: $/Animated_House.pde
$/Animated_House.pde
// Ben Canfora; Basic Animated House void setup () { size(300, 300); } color day = #25EFF7; color body = #FFE308; int b = 100; void draw() { //Sky background(day); fill(body); noStroke(); ellipse(150, 0, b, b); //Grass fill(0, 255, 50); rect(0, 250, 300, 300); //Building stroke(0); fill(255, 0, 30); rect(75, 150, 150, 100); //Door fill(#5F2F0A); rect(138, 210, 25, 40); //Roof fill(#6F2203); triangle(75, 150, 225, 150, 150, 75); } //Lets you change between night and day void mouseClicked() { if (day == #25EFF7) { b = 75; body = #EAEAE8; day = #05104B; } else { b = 100; body = #FFE308; day = #25EFF7; } }