Openedger / python-generative-art-tutorial

Tutorial repository for Python generated art.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Generative Art Tutorial

preview

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.

Usage

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:

example_image

About

Tutorial repository for Python generated art.

License:MIT License


Languages

Language:Python 100.0%