Skip to content
Projects

About

A environment-agnostic toolkit for manipulating SVG/Path2D curves

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
+1

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Pave is an environment-agnostic toolkit for manipulating SVG/Path2D paths: primitives, positions/normals/tangents, offsetting and stroking, boolean operations, curve fitting and simplification, node-tool style editing of anchors and handles, dashes, convex hulls, raycasts and shadows, and layout helpers such as align, blend and repeat-along. Every function is pure and the path data is an immutable plain object, so it works the same in the browser, in Node and in any renderer.

Offsetting, stroking and boolean operations are implemented natively, and circular arcs (A commands) are preserved through them.

Development

git clone https://github.com/baku89/pave
cd pave
yarn install
yarn test --watch

License

This repository is published under an MIT License. See the included LICENSE file.

Explore related projects

Loading…