Colored circles

Hi,

If I have a series of circles and I would like to color them one by one, let’s say their initial
state is white and I would like them to one by one change to red, how would I be able to approach this?

  • regarding the timing, can I avoid using frameRate(); ? Is there another way to control timing?

Thx

1 Like

i found some old examples
https://editor.p5js.org/kll/sketches/9mkQG9HXN
https://editor.p5js.org/kll/sketches/zenbBhwf7
both use a
https://p5js.org/reference/#/p5/millis
timer

1 Like