procedurally generated fish drawings
MIT License
procedurally generated fish drawings. demo
basic
node fishdraw.js > output.svg
specify seed (from a string), speed of drawing and output format:
node fishdraw.js --seed "Biggus fishus" --format smil --speed 2 > output.svg
smil
.svg
(regular svg), smil
(animated svg), csv
(each polyline on a comma-separated line) and json
.use as JS library:
const {fish,generate_params} = require('./fishdraw.js');
let polylines = fish(generate_params());
console.log(polylines);