Skip to content
Proyek

Tentang

A environment-agnostic toolkit for manipulating SVG/Path2D curves

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
+1

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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.

Jelajahi proyek terkait

Memuat…