# How to create an array of circles within a circle?

I’m looking to place exactly 750 filled circles in a random array within a circular shape, essentially a static version of this infographic

I’ve considered scatter graphs (but that seems as painful as manually placing each circle), the transform effect and blend tools (but these seem linear, or require going along, rather within a path). I wonder whether I need to script this, but I’ve never done that before so would love it if you could step out exactly how I should go about this?

One user has suggested making a custom brush, however this does not allow me to specify an exact number of circles (I need to be sure there are 750). One thing I didn’t mention earlier is that I want to select and alter the colour of 162 of the circles once they’ve been drawn, so they need to remain editable.

## Particle System

My approach would be using a particle generator. But the only ones I know are for 3D images.

So I would use Blender, where you can define the number of particles.

As you need to change the color of some of them I would create two base objects (an object is the shape of the particle that will be repeated) to make two particle systems.

One system with 162 and the other with 588.

Then I would choose a self illuminated material for the particles and the container so my final render looks flat.

If you need a “white” separation you can prepare a fresnel material. This makes the material look one color if the angle is paralel to the camera and the color changes if the angle of this surface changes.

Look for a specific tutorial on how to achieve this: https://www.google.com/search?q=blender+particle+systems

To be sure you have the exact amount of particles generate a lower number of them so you can count them and confirm.

If you “drop” them form some height you will have some randomness in the distribution.

You can render this of a decent size. But if you leave a gap between the circles you could try to trace them.

## Spray it

Another way to do it is using the “Spray” tool inside of Illustrator.

The basic idea is that you prepare a symbol of a circle, choose the spray tool and… spray.

At any moment you can select all the objects in one layer to make an automated counting. (Document info)

You could prepare different layers lets say each with 50 objects so you can keep track on how many objects are there.

The drawback of this method is that some circles can be overlapped one on top of another.