Complex gradient loop

Hi

Complex but easy

void setup () {
size (600,600);
colorMode(HSB);
}
void draw(){
for(int i= 600; i >0; i=i -1) {
  stroke((i/2) + (mouseX/2), 300,300);
rect(0,0,i ,i);
}
}