This Python script generates SVG visualizations of nested circles. It showcases circles placed inside one another, creating intricate patterns and arrangements. The script utilizes mathematical calculations to position circles accurately.
- Ensure you have Python installed on your system.
- Run the script, and it will generate an SVG file called
output.svg
. - Open the
output.svg
file in a compatible viewer to see the visualization.
The script defines circles with a radius and a list of other circles placed inside them. It uses recursive logic to generate these nested structures. Each circle is positioned in relation to its parent circle.
You can adjust the zoom
variable to control the scale of the visualization. The larger the zoom
, the larger the circles will appear in the SVG output.
The script generates intricate patterns of nested circles. You can find an example visualization in the output.svg
file included in this repository.
roopeshach
This project is licensed under the MIT License.