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 algorithm works by:
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.
An example of orbital mechanics in generative art
Circle packing can explore:
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.
To create your own circle packing artwork:
python3 ~/generative-art-code/scripts/circle_packing.py YOUR_ARTWORK.png --seed 42~/projects/web/images/YOUR_ARTWORK.pngExplore different seeds, experiment with parameters, and discover what patterns emerge from the mathematics of non-overlapping circles!