theory-of-colours

1.0.14 • Public • Published

Theory of Colours

npm versions npm downloads CodeQL CodeQL publish

Si vera nostra sunt aut falsa, erunt talia, licet nostra per vitam defendimus. Post fata pueri qui nunc ludunt nostri judices erunt.

This package is a cli tool that generates random, pleasing, SVGs.

Installation

npm install -g theory-of-colours

Usage

colours --help

Gotcha

I don't think the shebang will work on windows

Todo

  • [x] publish
    • [x] auto publish main
  • [x] cli args
    • [x] filename to write to
      • [x] add option to use a temp file
        • [x] default true
    • [x] open
      • [x] default true
    • [ ] rethink not passing arguments
    • [ ] two pass argument filling
  • SVG generation
    • [x] don't write elements before collecting them
  • files
    • [x] don't spew drain listener warnings
  • reproducibility
    • [ ] make sure identical seeds yield identical SVGs
      • [ ] first AT
  • testability
    • [x] get jest working
    • all exports
      • [ ] should return named constants
      • [ ] should be functions
    • [ ] no module load time computation
  • polish
    • [ ] stop using log trackers
    • [ ] stop using classes

Road Map

  • [ ] Random dots
    • [x] distribution
    • [ ] symmetry
    • [x] background color
    • [ ] non-overlapping
  • [ ] strokes
    • [ ] bezier curves
    • [ ] width variance
    • [ ] directional
  • animations
    • [ ] shimmy shimmy ya
  • [ ] prosper?

Package Sidebar

Install

npm i theory-of-colours

Weekly Downloads

1

Version

1.0.14

License

ISC

Unpacked Size

27.5 kB

Total Files

29

Last publish

Collaborators

  • sullage