procedural-strings-js

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i procedural-strings-js

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

399 kB

Total Files

15

Last publish

Collaborators

  • v-braun