xxxxxxxxxx
void setup()
{
size(500,540);
background(0);
}
void draw()
{
//background(0);
pushMatrix();
rotate(-millis());
fill(500,234,100,20);
noStroke();
rect(0,0,224,210);
popMatrix();
pushMatrix();
colorMode(HSB,360,100,100);
float h=millis()/10.0%360;
fill(h);
rect(233,0,267,210);
rect(0,229,224,120);
popMatrix();
pushMatrix();
colorMode(HSB,360,360,360);
float m= millis()/100.0%360;
fill(m);
rect(233,229,267,120);
popMatrix();
fill(0,0,360);
pushMatrix();
float r=millis()/1.0%360;
fill(r);
rect(391,363,114,177);
rect(53,363,171,177);
popMatrix();
pushMatrix();
float l=millis()/20.0%360;
fill(l);
rect(233,525,148,19);
popMatrix();
pushMatrix();
float k=map(mouseY,0,height,50,234);
fill(k,500,789);
rect(233,363,148,153);
popMatrix();
pushMatrix();
float p=map(mouseX,0,width,0,500);
fill(p,500,600);
rect(0,363,44,177);
popMatrix();
}