coons-patch
    Preparing search index...

    Function interpolatePointOnCurveEvenlySpacedFactory

    • Factory function that receives a config object and returns a function for interpolating a point on a curve using an an algorithm that results in more evenly distributed points than the default implementation.

      Parameters

      • config: { precision: number } = ...

        Configuration options.

        • precision: number

          The precision of the calculation used in determining the distribution of points. Increasing this number improves the accuracy at the cost of performance.

      Returns InterpolatePointOnCurve

      A function that takes a parameter t and a curve, and returns an interpolated point on the curve.