xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw() {
stroke (0, 0);
fill (random (0, mouseX), random (0, mouseY), random (0, 255));
circle (random(0, width), random(0, height), random (0, mouseY));
}
/*devo rivedere il codice per scattare le foto, mancano parti
function mousePressed () {
img = createImage (width, height)
save (img, "backgroundimage")
}
*/