@remotion/paths
v4.0.150
Published
Utility functions for SVG paths
Downloads
69,339
Readme
@remotion/paths
A package providing utility functions for dealing with SVG paths. This package consists of code from svg-path-properties
and svg-path-reverse
with the following improvements:
- Functional style APIs
- First class Typescript types
- Documentation with examples
- ESM import style
No dependencies are needed, meaning this package can be used independently of Remotion.
API
getLength()
getPointAtLength()
getTangentAtLength()
reversePath()
normalizePath()
interpolatePath()
evolvePath()
License
MIT