Inspired by Composition with Red, Blue and Yellow by Piet Mondrian, a javascript algorithm, builds on Mondrian’s use of colour and explores how he divided space. Mondrian Generator is a collaboration with American artist and process engineer Aaron Hankins.

Initially written in TypeScript and transpiled into 130.23KB of JavaScript, it uses the Immutable-js library for persistent data structures and is rendered with the canvas API in your web browser.