Nature 1

For this piece I wanted to do something representing the different seasons. The tree changes between how it would be seen in the different seasons depending on what quarter of the canvas the mouse is on.
PImage myPicture;
PImage myPicture2;
PImage myPicture3;
PImage myPicture4;

void setup(){
size(500,400);
myPicture = loadImage(“treeeee.png”);
myPicture2 = loadImage(“summer.png”);
myPicture3 = loadImage(“fall.png”);
myPicture4 = loadImage(“winter.png”);
}

void draw(){
if (mouseX

Leave a Reply