https://github.com/flarebyte/dazzling-path
SVG Path manipulation
https://github.com/flarebyte/dazzling-path
Last synced: over 1 year ago
JSON representation
SVG Path manipulation
- Host: GitHub
- URL: https://github.com/flarebyte/dazzling-path
- Owner: flarebyte
- License: mit
- Created: 2015-01-15T14:19:23.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-31T16:24:04.000Z (over 10 years ago)
- Last Synced: 2025-01-04T10:24:19.818Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-url]][daviddm-image]
> Artistic and experimental library to facilitate special effects on svg path
## Install
```sh
$ npm install --save dazzling-path
```
## Usage
Please have a look at the unit tests for typical usage.
```js
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);
```
```sh
$ npm install --global dazzling-path
$ dazzling-path --help
```
## License
MIT © [Olivier Huin]()
[npm-url]: https://npmjs.org/package/dazzling-path
[npm-image]: https://badge.fury.io/js/dazzling-path.svg
[travis-url]: https://travis-ci.org/flarebyte/dazzling-path
[travis-image]: https://travis-ci.org/flarebyte/dazzling-path.svg?branch=master
[daviddm-url]: https://david-dm.org/flarebyte/dazzling-path.svg?theme=shields.io
[daviddm-image]: https://david-dm.org/flarebyte/dazzling-path