mondrian-art

Generate "modern art" using Mondrian Processes.

OTHER License

Downloads
36
Stars
9

Mondrian art

Generate "modern art" using Mondrian Processes, from Python.

Installation

It requires Python 3, and can be installed from Pypi with pip:

pip3 install mondrian-art

Usage

From Python, use the fonction generate (with default options, or use custom options, see the source for more information):

from mondrian_art import generate
plt = generate()
plt.show()

You can also execute the mondrian_art.py script:

python3 mondrian_art/mondrian_art.py

Sample images

About

Reference

Section 1 in arXiv:1507.05181.

Contributors GitHub contributors

  1. Manoj Kumar (MechCoder)
  2. Lilian Besson (Naereen)

License PyPI license

BSD 3