AutoMovie API
    Preparing search index...

    Namespace AutoMovieHumanSeamKnot

    Knot jets of a uniform periodic cubic B-spline section, and the assembly of a section from guides and sectors (rule J2).

    At a knot of spacing h the curve and its derivatives depend on the three control points around it alone:

    p   = (P- + 4 P0 + P+) / 6
    p'  = (P+ - P-) / (2 h)
    p'' = (P- - 2 P0 + P+) / h^2
    

    and the map is invertible, P0 = p - h^2 p'' / 6, P+- = p + h^2 p'' / 3 +- h p'. So a guide that owns a knot owns its point, tangent and curvature exactly by writing three control points, which the global inverse filter of AutoMovieSplineCurve.interpolate cannot do: there every control point depends on every sample. A sector between two guide knots g and g + k keeps the control points g + 2 .. g + k - 2 of its own, k - 3 of them, so a sector needs at least four spans to keep any shape of its own; with four, one control point. Its own knots take P0 = p - h^2 p'' / 6 from the sector's curve, which reproduces the curve exactly when the curve is itself a cubic spline on these knots and otherwise is the fourth-order quasi-interpolant of it.

    The result is an ordinary chain section, [x_0 .. x_{N-1}, z_0 .. z_{N-1}], that every consumer reads unchanged; phases run t = 2 pi u / N and all derivatives here are per radian of phase, so h = 2 pi / N.

    assemble
    controls
    knot