Svg image generator with JavaScript
This libs generator random svg and base64 code
Property
Name | Type | Required | Default |
---|---|---|---|
width | number | No | 500 |
height | number | No | 300 |
stroke | number | No | 2 |
maxShapes | number | No | 16 |
opacity | number | No | 1.0 |
Include your project
see to dist/index.html
Development
Use development tools
Install
git clone https://github.com/makenskiy/svg-image-generator.git && cd svg-image-generator && npm i
Run dev
npm run dev
Run build
npm run build
Run test
// unit
npm run unit