/Mondrianerator

YAMG

Primary LanguageJavaScriptMIT LicenseMIT

Mondrianerator

Deterministically generated SVGs in the style of Piet Mondrian.

Live demo

Usage

const Mondrianerate = require('Mondrianerator');
// OR
import Mondrianerate from 'Mondrianerator';
// etc

const mount = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
const seed = +new Date;

Mondrianerate({mount, seed});

Licensed under the MIT license (see LICENSE.MD for full text).