xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw() {
// ellipse(mouseX, mouseY, 20, 20);
colorMode(HSB);
for(let i = 0 ; i < width ; i+=50){
let h = map(i , 0 , width , 0 , 360);
for(let circle = 0 ; circle < height ; circle+=50){
fill((h+ circle + frameCount *5 )/2%360,mouseY/5 , mouseX/5);
ellipse(i, circle, 20);
}
}
}