In mathematics, a KochanekâÂÂBartels spline or KochanekâÂÂBartels curve is a cubic Hermite spline with tension, bias, and continuity parameters defined to change the behavior of the tangents. It was invented by Doris Kochanek of National Film Board of Canada and Richard Bartels of University of Waterloo in Canada to automate the process of creating the effect desired by the animator for interpolated motion between key frames in computer animation, reducing the need to input additional information.
The key positions (data points) of each keyframe are , , and are interpolated using a cubic Hermite spline.
For each , define the incoming tangent vector and the outgoing tangent vector as follows:
For the interval between the start point and the end point , Kochanek-Bartels spline is obtained by applying the starting tangent vector and the ending tangent vector to the definition formula of cubic Hermite spline.
The source code 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 generate these splines in a BASIC dialect.