xxxxxxxxxx
function setup() {
simple();
colorMode(HSB);
background("white");
a = randomNumber (0, 360);
}
function draw() {
noStroke();
repeat(100, 700, 1, spot);
}
function spot(x) {
var y = 100*sin(2.5*x);
var h = map(x, 100, 700, 0, 360);
fill((a+h)% 360, 100, 90, 0.2);
circle(x, 300 + y, 50);
}