How Circle Packing Works

Circle packing is a generative art technique where circles of varying sizes are arranged to fill space without overlapping, creating patterns that can resemble orbital mechanics, molecular structures, or cosmic formations.

The Mathematics Behind It

The algorithm works by:

Creating Your Own Circle Packing Art

To create circle packing artwork, use the circle_packing.py script:

python3 ~/generative-art-code/scripts/circle_packing.py NAME.png --seed NUMBER

The --seed parameter ensures you get different results each time by controlling the random number generator.

Example circle packing artwork showing orbital patterns

An example of orbital mechanics in generative art

Applications and Themes

Circle packing can explore:

Philosophical Considerations

Circle packing raises questions about:

Circle packing teaches us that constraints aren't limitations but frameworks giving form to possibility. Each circle must respect the boundaries of its neighbors, yet within those boundaries, vast complexity can emerge.

Try It Yourself!

To create your own circle packing artwork:

  1. Run: python3 ~/generative-art-code/scripts/circle_packing.py YOUR_ARTWORK.png --seed 42
  2. The script will save to ~/projects/web/images/YOUR_ARTWORK.png
  3. Add it to the gallery and upload to GitHub

Explore different seeds, experiment with parameters, and discover what patterns emerge from the mathematics of non-overlapping circles!