Skip to main content

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.

Contributors GitHub contributors

  1. Manoj Kumar (MechCoder)

  2. Lilian Besson (Naereen)

Maintenance made-with-python

License PyPI license

BSD 3

Release files for mondrian-art 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mondrian-art 0.1.2
File Size Uploaded
mondrian-art-0.1.2.tar.gz 3.0 kB Details

Release files / mondrian-art-0.1.2.tar.gz

Download URL mondrian-art-0.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ec6f996b00950f3931245a9d6dec1b439ebf24112a27441a099e434edd2771bd
BLAKE2b-256 checksum
How to use checksums
88e5190a6ae20e461aa822b45ea9791481eca6c98a138352def006ae23f67288
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page