Function interpolateBasis

  • Returns a uniform nonrational B-spline interpolator through the specified array of values, which must be numbers. Implicit control points are generated such that the interpolator returns values[0] at t = 0 and values[values.length - 1] at t = 1. See also d3.curveBasis.

    Parameters

    • splineNodes: number[]

    Returns ((t) => number)

      • (t): number
      • Parameters

        • t: number

        Returns number