All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix invalid calculation of
getPathPointAtLength
that could return a point outside the path.
- Fix invalid calculation of
getPathPointAtLength
that neglected the tail part.
- Fix inaccurate calculation of
getPathPointAtLength
- Fix invalid calculation of
getPeriodicBezierInterpolation
- Fix invalid calculation of
getBezierInterpolation
- Add
getPeriodicBezierInterpolation
for interpolating a polyline via periodic bezier curve.
- Fix
getCrossSegAndBezier3
didn't take care of a segment but a line
- Add
getCrossLineAndBezier3
for line version ofgetCrossSegAndBezier3
- Add
getCrossSegAndBezier3WithT
to get extra information of intersections - Add
divideBezier3
to divide cubic bezier
- Add
getCrossSegAndBezier3
to get intersections between a segment and a cubic bezier - Add
getClosestPointOnBezier3
to get the closest point on a cubic bezier
- Remove absolute position effect from optimal bezier interpolation for consistent result
- Optimal bezier interpolation
- Migrate
parcel-bundler
toparcel2
for demo
- Fix invalid parsing for decimal shorthand:
0.1.2
should be treated as0.1 0.2
- Fix unexpected error for parsing arc segment when its radius is close to 0
- Fix invalid path parsing for exponent number like
-2.2e-14
- Add new functions to modify SVG path: reverse, slide, scale, rotate
- Fix
getArcLerpFn
not to deal with complex number
- Add new argument for
parsePathD
to adjust its accuracy - Add
getPathTotalLength
as an alternative ofSVGGeometryElement.getTotalLength
- Add
getPathPointAtLength
as an alternative ofSVGGeometryElement.getPointAtLength
- Replace build system
- Remove
typedoc
- Bump dependencies
- Change compiler target to
es2015
- Export declaration map
- Add
CHANGELOG.md