mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
1.8 KiB
1.8 KiB
@sumisonic/bezier-kit-style
0.2.0
Patch Changes
- Updated dependencies [
4ad6856]:- @sumisonic/bezier-kit-core@0.2.0
0.1.0
Minor Changes
f575c3fThanks @sumisonic! - Initial release ofbezier-kit.@sumisonic/bezier-kit-core: zero-dependency cubic-bezier geometry layer with 2D / 3D support via a<P extends Point>generic that is propagated through every API (BezierSegment<P>,BezierPath<P>,BBox<P>, etc.). Includes: types, math utilities, bbox (BBox2D/BBox3Dvia conditional type), segment / path operations (split, interpolate, match-count), arc-length index (O(N) scan + O(log N) binary search), Catmull-Rom / polyline constructors,pointAtLength/tangentAtLength, and the functormapPoints(2D ↔ 3D conversion, translation, scale, etc.).@sumisonic/bezier-kit-style: style-aware morphing and splitting, built on top of core and constrained to 2D (<P extends Point2D>). Includes hex color validation + interpolation, linear-gradient remap, stroke / styled-path interpolator and splitter, styled-path count matcher.- ESM + CJS dual publish with
.d.ts/.d.ctsandsideEffects: falsefor tree-shaking. - Merges and generalizes the bezier / bezier-utils modules from the
arte-webproject and the@sumisonic/find-point-on-pathlibrary, removing fp-ts and Effect Schema dependencies.
Patch Changes
- Updated dependencies [
f575c3f]:- @sumisonic/bezier-kit-core@0.1.0