This is a tutorial for creating generative abstract art-work using Python. It is based on a generative art NFT collection I created earlier, called Machine Psychology (source). But this tutorial project is simplified and only focuses on using Python to create the image.
First make sure you have PIL installed.
pip install pillow
You can run it like this.
# Generates a collection called 'foo' with 32 pieces into ./output/foo/
python src/generate_art.py -n 32 --collection "foo"
It should generate an image like this: