xxxxxxxxxx
void setup()
{
size(500, 500);
}
void draw()
{
background (000);
float s=map (mouseX, 0,width, 0, 500);
float m=map (mouseY, 0, width, 0, 500);
fill(180, 5);
noStroke();
rect(0, 0, width, height);
translate(width/2, height/2);
float x = sin(millis()/100.0);
float y = cos(mouseX/500.0);
colorMode(HSB, 200, 100, 100);
fill(HSB, 50, 50, 100);
noStroke();
ellipse(0, x*100, y*100, y*100);
fill(m, 50, s, 100);
noStroke();
ellipse(50, x*100, y*100, y*100);
fill(HSB, 50, 50, 100);
noStroke();
ellipse(100, x*100, y*100, y*100);
fill(m, 50, s, 100);
noStroke();
ellipse(-50, x*100, y*100, y*100);
fill(HSB, 50, 50, 100);
noStroke();
ellipse(-100, x*100, y*100, y*100);
}