Skip to content
Random Composition in Red, Blue, and Yellow in the style of Piet Mondrian
Branch: master
Clone or download
Latest commit 49a1e8e Dec 3, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Update readme with examples Sep 21, 2015 Update Dec 3, 2016
mondrian-generator.R Add R version Sep 20, 2015
mondrian-generator.js Move canvas object to global Sep 20, 2015

Mondrian Generator

Random Composition in Red, Blue, and Yellow in the style of Piet Mondrian

Try it out online ☞ Mondrian Generator

Piet Mondrian was a Dutch painter best know for his involvement in the artistic movement De Stijl or neoplasticism. De Stijl consisted of a white background, upon which Mondrian painted a grid of vertical and horizontal black lines and the three primary colors such as red, blue, and yellow. Some notible work by Mondrian include:

For more information, please see:

The scripts provided here generate random compositions in red, blue, and yellow in the style of Mondrian. Scripts were originally developed in R and later in Javascript. Scripts were developed as part of an Introduction to Computer Science for 5th to 8th grade girls class I'm putting together and teaching in order to show students how computer science can be used in, other perhaps less obvious and conventional, ways that are only limited by your imagination.

Sample random compositions generated using the online Mondrian Generator:


I welcome any bug reports, enhancement requests, and other contributions. To submit a bug report or enhancement request, please use the GitHub issues tracker. For more substantial contributions, please fork this repo, push your changes to your fork, and submit a pull request with a good commit message.

Other Mondrian generators online:

You can’t perform that action at this time.