0.0.8 • Published 4 years ago

gen-mondrian v0.0.8

Weekly downloads
56
License
MIT
Repository
github
Last release
4 years ago

Random Mondrian Generator

Lorem ipsum, but for images. See demo and rationale.

Usage

Install from NPM:

npm i gen-mondrian

The module exports a single default function that accepts a canvas element. When run, it generates an image of 16:9 aspect ratio and fills the canvas.

import genMondrian from 'gen-mondrian'

const el = document.getElementById('my-canvas')
genMondrian(el)

TODOs

  • Allow user to specify size of generated image
  • Express route handler
  • Simpler client-side interface
  • React wrapper
  • Add some kind of testing
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago