Help with animating circles

Hello @AVREDDY,

These are very helpful guidelines here:

Lot of resources here:
https://processing.org/

Look up the references for starters:

  • setup()
  • draw()

Just a hint to increase x with each frame:

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.

:)