Skip to content

v1.0.0

Latest

Choose a tag to compare

@mourner mourner released this 26 May 21:26

⚠️ Breaking changes:

  • API is now simpler:unitBezier(p1x, p1y, p2x, p2y) returns (x, epsilon?) => y. Replaces the new UnitBezier(...).solve(...) class API.
  • Removed sampleCurveX, sampleCurveY, sampleCurveDerivativeX, solveCurveX, and the stored p1x/p1y/p2x/p2y fields — none were used by primary consumers like GL JS.
  • Switched to native ESM ("type": "module").