0.0.8 • Published 3 years ago

gen-mondrian v0.0.8

Weekly downloads
56
License
MIT
Repository
github
Last release
3 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

3 years ago

0.0.7

3 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago