fullscreen void
setup(){
size(200,200);
}
void
draw(){
background(0,0,mouseY);
fill(200);
ellipse(100,mouseY,50,50);
fill(255,201,3);
ellipse(100,mouseY-170,50,50);
fill(255,255,255);
rect(0,100,200,200);
if (mouseY>180){
fill(10,200,10);
rect(0,100,200,200);
}
}
Using the basic layout of the template from Thursday's class, I added a change from day to night, and snow to grass. Having trouble figuring out how to add brightness as a variable, or create a progression from one color to another.