procedural-strings-js
v1.0.0
Published
procedural generation of beautiful svg shapes
Downloads
2
Readme
procedural-strings-js
procedural generation of beautiful svg shapes
Description
Installation
# as module
npm i procedural-strings-js --save
# as CLI
npm i procedural-strings-js -g
Usage
Module
const procStrings = require('procedural-strings-js');
const setting = new procStrings.Settings();
setting.width = 800;
setting.height = 600;
const data = procStrings.generate(setting);
console.log(data); // output will be the generated SVG as string
CLI
procedural-strings-js -o out.svg
open -a "Google Chrome" out.svg
Configuration
Checkout the Settings object for more configuration details.
Authors
Contributing
Make sure to read these guides before getting started:
License
procedural-strings-js is available under the MIT License. See LICENSE for details.