Thanks
void setup() {
size(500, 500);
}
void draw(){
background(255);
rectMode(CORNER);
int i = 0;
for (int y = 30; y < width; y +=100){
i += 20;
for (int x = 10; x < height; x +=40){
// fill(x+i, height/x-45, 211, 150);
fill(#0AE6F0, x-i);
rect(x, y, 40, 30);
x+=40;
y+=30;
fill(#0AE6F0, x-i);
rect(x, y, 40, 30);
y-=30;
}
}
}