Function interpolateBasisClosed

  • Returns a uniform nonrational B-spline interpolator through the specified array of values, which must be numbers. The control points are implicitly repeated such that the resulting one-dimensional spline has cyclical C² continuity when repeated around t in [0,1]. See also d3.curveBasisClosed.

    Parameters

    • splineNodes: number[]

    Returns ((t) => number)

      • (t): number
      • Parameters

        • t: number

        Returns number