Rainbow

Rainbow - 31 / 10 / 2014

show code

void setup() {

colorMode(HSB);

background(46, 255, 255);

size(500, 500);

//noLoop();
}
void draw() {

for (int i = 0; i <500; i = i+50) {
for (int j = 0; j <500; j = j+60) {
fill(180,mouseX, 255,25);
//fill(random(63, 255));
rect(i, j, 50, 60);
fill(mouseY,78);
rect(i+5,j+5,40,50);
//fill(random(255),74,random(255));
fill(i/2,74,255);
rect(i+15,j+15,20,30);
}
}
}

Thank you for signing up! We'll be in touch with info about our upcoming sessions and all things kids coding :-)