PackageTrack

npm · #3735

@mapbox/unitbezier

1.0.0mapbox/unitbezier

unit bezier curve interpolation

Release timeline

3 releases since 2017
20172019202120232025

Releases

  1. 1.0.026 May 2026
    Release notes

    ⚠️ 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").
    Open source →
  2. 0.0.122 Oct 2021

    Nothing published for this version

  3. 0.0.017 Jan 2017

    Nothing published for this version