Skip to content

v-braun/procedural-strings-js

Repository files navigation

procedural-strings-js

procedural generation of beautiful svg shapes

Build Status PR welcome

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.

Documentation

See DOCUMENTATION

Related Projects

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.

About

procedural generation of beautiful svg shapes

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published