# Help with animating circles

**URL:** <https://discourse.processing.org/t/help-with-animating-circles/47346>\
**Category:** Coding Questions\
**Created:** [October 14, 2025, 3:10am UTC](https://discourse.processing.org/t/help-with-animating-circles/47346 "2025-10-14T03:10:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [October 14, 2025, 3:48pm UTC](https://discourse.processing.org/t/help-with-animating-circles/47346/2 "2025-10-14T15:48:07Z")

</div>

Hello @AVREDDY,

These are very helpful guidelines here:

> [@Welcome to the Processing Foundation Discourse](https://discourse.processing.org/t/welcome-to-the-processing-foundation-discourse/8):
>
> This is a place to discuss [Processing](https://processing.org/), [p5.js](https://p5js.org/), [Processing for Android](http://android.processing.org/), Processing for Pi, [Processing.py](http://py.processing.org/) and related software initiatives. It’s a place to talk about general ideas and specific projects. You can learn more about the [Processing Foundation](https://processingfoundation.org/) on its website. Our goal is to promote software literacy within the visual arts, and visual literacy within technology-related fields — and to make these fields accessible to diverse communities. Our goal is to empower people of all interests and …

Lot of resources here:  
_[https://processing.org/](https://processing.org/)_

Look up the references for starters:

- _setup()_
- _draw()_

Just a hint to increase x with each frame:

```auto
void draw() {
  background(0); //color
  stroke(225); //stroke
  //frameRate(1);
  //for ( int x=-250; x<1300; x+=100) 
  int x = frameCount;
  { //sets cricles

```

This will animate your _cricles_!

Look up the reference for _frameCount_.

Much of your code could be reduced (refactored) with a _for() loop._

Still a lot of work to do!

I suggest going through tutorials, examples and the references to start you on your journey.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/help-with-animating-circles/47346)._
