cubify

0.0.3 • Public • Published

cubify

Convert d of SVG path into list of cubic bezier curves. Source code adopted from Snap.svg ( specifically path.js ), rearranged specific for this particular usage.

Formally @zbryikt/pathconvert, refactored and transferred here.

Usage

Install:

npm install cubify

use require for Node.js or include with <script> in website:

<script src="path-to-cubify-dist/index.js"></script>

require("cubify"); /* for Node.js */
result = cubify(d);

License

The original source code is released under Apache License

The adopted code is released under MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i cubify

Weekly Downloads

6

Version

0.0.3

License

MIT

Unpacked Size

42.1 kB

Total Files

6

Last publish

Collaborators

  • tkirby