- Kochanek–Bartels spline
In
mathematics , a Kochanek-Bartels spline or Kochanek-Bartels curve is acubic Hermite spline with tension, bias, and continuity parameters defined to change the behavior of thetangent s.Given "n" + 1 knots,
:p0, ..., p"n",
to be interpolated with "n" cubic Hermite curve segments, for each curve we have a starting point p"i" and an ending point p"i"+1 with starting tangent d"i" and ending tangent s"i"+1 defined by
:
:where "t" is the tension, "b" is the bias, and "c" is the continuity parameter.
The tension parameter, "t", changes the length of the tangent vector. The bias parameter, "b", primarily changes the direction of the tangent vector. The continuity parameter, "c", changes the sharpness in change between tangents.
Setting each parameter to zero would give a
Catmull-Rom spline .The [http://news.povray.org/povray.binaries.tutorials/attachment/%3CXns91B880592482seed7@povray.org%3E/Splines.bas.txt source code found here] of Steve Noskowicz in 1996 actually describes the impact that each of these values has on the drawn curve:
The code includes matrix summary needed to actually generate these splines in aTension "T" = +1-->Tight "T" = −1--> Round Bias "B" = +1-->Post Shoot "B" = −1--> Pre shoot Continuity "C" = +1-->Inverted corners "C" = −1--> Box corners BASIC dialect. Actually it is Microsoft Quick Basic v1.0 for the Mac (Steve.N).
Wikimedia Foundation. 2010.