Skip to content

flarebyte/dazzling-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version Build Status Dependency Status

Artistic and experimental library to facilitate special effects on svg path

Install

$ npm install --save dazzling-path

Usage

Please have a look at the unit tests for typical usage.

var dazzling-path = require('dazzling-path');

var rect= dazzlingPath.toPathObj('M 0 0 L 0 10 L 20 10 L 20 0 Z');
var area= dazzlingPath.toPolygonArea(rect);
$ npm install --global dazzling-path
$ dazzling-path --help

License

MIT © Olivier Huin