xxxxxxxxxx
31
var _h;
var x;
var y;
var r = 60;
var s = 25;
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
_h = random(0, 360);
x = random(0, width);
y = random(0, height);
}
function draw() {
background(0, 0);
noStroke();
colorMode(HSB);
_h = (_h + (random(-20, 20) % 360) + 360) % 360;
fill(_h, 40, 100);
circle(x, y, r);
x = (x + (random(-s, s) % width) + width) % width;
y = (y + (random(-s, s) % width) + width) % width;
}