Generate "modern art" using Mondrian Processes, from Python.
It requires Python 3, and can be installed from Pypi with pip
:
pip3 install mondrian-art
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
Section 1 in arXiv:1507.05181.