primitive-cli
CLI to reproduce images from geometric primitives (Node.js + browser port of primitive).
This CLI is also available as a library.
Install
npm install -g primitive-cli
Usage
Usage: primitive [options] Options: -V, --version output the version number -i, --input <filename> Path of input image to process -o, --output <filename> Path to generate output image -s, --num-steps <number> Number of steps to process [1, 1000] -e, --min-energy <number> Minimum energy to stop processing early [0, 1] -a, --shape-alpha <number> Alpha opacity of shapes [0, 255] -t, --shape-type <string> Type of shapes to use -c, --num-candidates <number> Number of top-level candidates per step [1, 32] -r, --num-candidate-shapes <number> Number of random candidates shapes per step [10, 1000] -m, --num-candidate-mutations <number> Number of candidate mutations per step [10, 500] -E, --num-candidate-extras <number> Number of extra candidate shapes per step [0, 16] -n, --nth-frame <number> Record every nth frame
Related
- primitive (js) - JS library for this CLI.
- primitive (go) - Original Go version by Michael Fogleman
License
MIT © Travis Fischer