xxxxxxxxxx
void setup()
{
size(500, 500);
background(0);
fill(255);
rect(0, 280, 210, 220);
fill(255);
rect(220, 0, 275, 270);
fill(255);
rect(220, 280, 235, 195);
fill(255);
rect(465, 380, 35, 120);
}
void draw()
{
colorMode(HSB,100,50,99);
float h = millis()/10.0%360;
float s = map (mouseY,0,height,0,50);
fill(h,s,255);
rect(465, 280, 35, 80);
colorMode(HSB,219,50,99);
float hh = millis()/10.0%360;
float ss = map (mouseY,0,height,0,50);
fill(hh,ss,255);
rect(220, 485, 130, 15);
colorMode(HSB,9,92,92);
float hhh = millis()/10.0%360;
float sss = map (mouseY,0,height,0,50);
fill(hhh,sss,255);
rect(0, 0, 210, 270);
}