# Colored circles

**URL:** <https://discourse.processing.org/t/colored-circles/13656>\
**Category:** Coding Questions\
**Created:** [August 27, 2019, 10:51pm UTC](https://discourse.processing.org/t/colored-circles/13656 "2019-08-27T22:51:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BennyElie](https://avatars.discourse-cdn.com/v4/letter/b/d9b06d/32.png) [@BennyElie](https://discourse.processing.org/u/BennyElie)\
**Post date:** [August 27, 2019, 10:51pm UTC](https://discourse.processing.org/t/colored-circles/13656/1 "2019-08-27T22:51:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [August 28, 2019, 1:26am UTC](https://discourse.processing.org/t/colored-circles/13656/2 "2019-08-28T01:26:49Z")

</div>

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