1.0.8 • Published 4 years ago

svg-generator v1.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

svg-generator

Create an svg image with a color gradient and repeating shape.

installation

Install globally to use anywhere to use via CLI.

npm install --global svg-generator

Or use it as a local, node installation:

npm install --save svg-generator

usage

CLI

svg-generator --start <hex-string> --end <hex-string> -w <width> --noise <noise> 

Node

import svgGenerator from 'svg-generator';

svgGenerator({start: hexColor, end: '#ff0000}, <width default=8>, <number of cycles>);

For more details on input parameters:

svg-generator --help

example

CLI example

The following input will generate an svg.

$ svg-generator --start '#ffbb00' -w 400 --end '#222222' -n 0

An example screenshot of the svg

svg image screenshot

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago