AutoMovie API
    Preparing search index...
    • Control points of the spline through N points at phases 2pi m / N.

      The curve at a knot is (P_{i-1} + 4 P_i + P_{i+1}) / 6. The inverse of that periodic filter is sqrt(3) (sqrt(3) - 2)^|k|, whose 32nd weight is under 1e-18, so the knots are met to rounding (14 neighbours left 3e-9 of the radius off a guide) and a section costs O(N) rather than the O(N^2) of project.

      Parameters

      • samples: readonly (readonly [number, number])[]

        Points [x, z], one per control point.

      Returns number[]

      Control points in the layout above.