Skip to main content

Generate modern art using mondrian processes.

Project description

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

PyPI download total PyPI download month PyPI download week PyPI download day

PyPI version PyPI format PyPI pyversions PyPI implementation PyPI status

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

Image 1 Image 2

About

Reference

Section 1 in arXiv:1507.05181.

License PyPI license

BSD 3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mondrian-art-0.1.2.tar.gz (3.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page