The repository contains some of my generative art. All art in the repository is generated by Python scripts using svg.py.
git clone https://github.com/orsinium-labs/generative-art.git
cd generative-art
python3 -m pip isntall svg.py
This is an improved port of the JS code described in Generative SVG Blob Characters.
python3 blobs.py --grid-x=4 --grid-y=3 > blobs.svg
- Draw a big invisible circle (I draw a white circle, so it can be a background if you use a dark mode).
- Draw a second invisible inner circle with a bit shifted center.
- Draw a bunch of circles so they are between the two invisible circles and do not intersect.
python3 circles.py > circles.svg
An implementation of the famous optical illusion what color are these spheres. The image contains multiple circles of the same color that appear to have a different color. That's because our brain adjust the circle color based on the color of the strip that goes over it.
python3 illusion.py > illusion.svg
An implementation of the famous optical illusion where dots between black squares appear to change the color between black and white.
python3 illusion_dots.py > illusion_dots.svg