Closed planar curve written as a uniform periodic cubic B-spline.
A section curve of a spline chain is described in its section plane by N
control points P_0 .. P_{N-1} in millimetres. The phase t in
[0, 2pi) maps to the knot parameter u = N t / 2pi; on the span
[i, i+1) the curve is
C(u) = B0(f) P_{i-1} + B1(f) P_i + B2(f) P_{i+1} + B3(f) P_{i+2}, f = u - i
with the uniform cubic B-spline weights B0 .. B3 and indices taken
modulo N. Every control point shapes only the four spans around it, so a
sharp feature (a pinch at a contact, a lip corner) stays where it is,
unlike a truncated Fourier series, whose every term spans the whole
section and spreads such a feature around it as ringing. This is the
section form of standard B-spline skinning.
The mean of the control points is the curve's mean over uniform phase, so
the sequence of control-point means along a chain is its central axis, as
the constant terms are for AutoMovieHarmonicCurve.
Coefficient layout for N control points is
[x_0, ..., x_{N-1}, z_0, ..., z_{N-1}], 2N numbers in total.
Closed planar curve written as a uniform periodic cubic B-spline.
A section curve of a spline chain is described in its section plane by N control points
P_0 .. P_{N-1}in millimetres. The phasetin[0, 2pi)maps to the knot parameteru = N t / 2pi; on the span[i, i+1)the curve iswith the uniform cubic B-spline weights
B0 .. B3and indices taken modulo N. Every control point shapes only the four spans around it, so a sharp feature (a pinch at a contact, a lip corner) stays where it is, unlike a truncated Fourier series, whose every term spans the whole section and spreads such a feature around it as ringing. This is the section form of standard B-spline skinning.The mean of the control points is the curve's mean over uniform phase, so the sequence of control-point means along a chain is its central axis, as the constant terms are for AutoMovieHarmonicCurve.
Coefficient layout for N control points is
[x_0, ..., x_{N-1}, z_0, ..., z_{N-1}],2Nnumbers in total.