• Returns a cardinal curve factory with the specified tension in the range [0, 1]. The tension determines the length of the tangents: a tension of one yields all zero tangents, equivalent to curveLinear; a tension of zero produces a uniform Catmull–Rom spline.

    Parameters

    • tension: number

      A constant in the [0, 1] interval.

    Returns CurveCardinalFactory