AutoMovie API
    Preparing search index...

    A shape's history: at each second, the composite inertia of the posed bones and the relative momentum from the bones DELTA either side, second order in DELTA, each instant computed once and kept by its exact second for the history's lifetime.

    Given the flight's span, the three-point stencil slides up to its boundary and then stays inside it. At a requested instant t away from the stencil's centre s, its central momentum is corrected by (t-s)/δ times the difference of its right and left half-interval momenta: the derivative of a quadratic interpolant, second order in δ (Fornberg 1988, Mathematics of Computation 51:699-706). Its weights and nodes are continuous when it becomes centred again, so an ODE reading the history sees no artificial stencil-switch discontinuity.

    type IHistorySpan = {
        from: number;
        to: number;
    }
    Index
    from: number

    First supported shape time, seconds on the history clock. The caller must provide a finite nonzero span; the history factory does not validate it.

    to: number

    Last supported shape time, strictly after from. The derivative stencil stays inside this span; the requested inertia sample itself is not clamped.