float d = 1.00;
float z = 0.0;
void setup(){
size(1000,800);
smooth();
noStroke();
rectMode(CENTER);
}
void draw(){
fill(0.5);
rect(width/2,height/2,width,height);
translate(mouseX,mouseY);
rotate(z);
z +=0.1;
d +=1.5;
scale(d);
if(d>200){
d = 1;
}
fill(255);
rect(0,0,1,1);
}