1.0.0 • Published 5 years ago

procedural-strings-js v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

procedural-strings-js

procedural generation of beautiful svg shapes

By v-braun - viktor-braun.de.

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

image
v-braun

Contributing

Make sure to read these guides before getting started:

License

procedural-strings-js is available under the MIT License. See LICENSE for details.