The Fritsch-Carlson monotone cubic on caller-owned arrays: slopes computed
in place and evaluation without allocation, so a profile whose values
change every frame, such as a posed sweep's volume scale, is rebuilt into
the same buffers.
interpolateAutoMovieMonotone validates its knots and wraps these two
functions in a closure; callers that already hold validated knots call them
directly. A period of 0 means an open curve.
The Fritsch-Carlson monotone cubic on caller-owned arrays: slopes computed in place and evaluation without allocation, so a profile whose values change every frame, such as a posed sweep's volume scale, is rebuilt into the same buffers.
interpolateAutoMovieMonotonevalidates its knots and wraps these two functions in a closure; callers that already hold validated knots call them directly. Aperiodof 0 means an open curve.