xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
/*
function draw(){
let w = (255) // nero
let b = (0) // bianco
let c = (41, 79, 82) // ciano
let m = (93, 11, 32) // magenta
let x = random (width)
let y = random (height)
let d = random (height)
let colour = random (m, c, b, w)
strokeWeight(0)
fill (colour)
circle (x, y, d)
}
*/
function setup() {
createCanvas(windowWidth, windowHeight);
background(255);
}
function draw(){
let d = random (height)
let r = random (255)
let g = random (255)
let b = random (255)
let x = random (width)
let y = random (height)
strokeWeight(0)
fill (r, g, b, 1)
circle (x, y, d)
}