YtHzayHun54w
code:a.js
function setup() {
createCanvas(400, 400);
}
let flag = false
let num = 0
let arr =
'white','yellow','blue','red', 'green','purple'
function draw() {
fill(arr
num
)
noStroke()
ellipse(mouseX, mouseY, 80, 80);
}
function mouseClicked() {
num += 1
if(num == 6) num = 0
}