xxxxxxxxxx
let N=20
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
}
function draw() {
background(255);
for(let i=0;i<=N;i++){
strokeWeight(3);
stroke(0);
fill(map(i,1,N,0,255),0,0,100);
ellipse(map(i,1,N,width/2,mouseX),map(i,1,N,height/2,mouseY),500-i*30);
}
}