xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
//}
//function draw() {
for (let i = 0; i < 700; i++){
let x = random(width);
let y = random(height);
let dark = random(0.7, 1.1);
stroke (0, map (x, 0, width, 255, 127), map (x, 0, width, 127, 255));
fill (255*dark, map (x, 0, width, 255, 0)*dark, 0, random(63, 127));
circle (x, y, random(50, 200) /*map(x, 0, width, 25, 200)*/); //il commento costituisce un variante con r in funzione di x
}
}