How to make a circle vector

I would like to know how to make a circle grid, or rather a vector of circles. I know how to do a nested for loop to create a grid of cirles in the x and y axis, but that is because they are both equal to each other, but if i wanted to draw small circles in a vector, How would I do this? I need one circle to be at the top, followed by 2 circles either side and 2 at the bottom (side by side)

example of what I would like


thanks

Jade

I would suggest you to have a look at what polar coordinates are, you can find an explanation here. http://openframeworks.cc/ofBook/chapters/intro_to_graphics.html

Once you understand this, you can make a loop that draw a circle and each time you iterate in the loop you increase the angle.