xxxxxxxxxx
17
var timer=0
var counter=0
function setup() {
createCanvas(400, 400);
}
function draw() {
timer=timer+1
if (timer==60) {
fill (random(0,255),random(0,255),random(0,255))
circle (random(0,400),random(0,400),40)
timer=0
counter=counter+1
console.log (counter)
}
}