# TCB

From Synfig Studio :: Documentation

Revision as of 16:05, 27 October 2010 by Niabot (Talk | contribs) (Crazy stuff. At least the inputvalues are not very intuitive.)

An interpolation type, TCB is an acronym for Tension, Continuity, Bias, the three qualities which define the shape of the curve if you plot the value of the interpolated parameter against time.

Using the TCB interpolation type will fit a smooth curve between adjacent waypoints, much like the bline tool fits smooth curves between adjacent bline vertices. The interpolation can be controlled by four values. These are tension, continuity, bias and temporal tension. In simple words they control the following things:

- Tension
- The tension defines how sharply the keyframe will be targeted (how much inverse effect the tangent has). Its very much comparable to the handles of a bezier curve, while this value will define in a reverse way how long the handles are.
- A higher value will force more linear movement from waypoint to waypoint, since the handles getting shorter. Resulting in a hard direction change if it's set to 1.0. In this case it is equal to linear movement (Handles have length 0), if the the other parameters having the default 0 value. Setting it higher then 1.0 will result in a curved movement that will circle around this waypoint (handles are scaled in negative direction (swapped).
- Lower values will force the the object to follow the tangent (handles) of the waypoint. For very low values most of the movement will be along the tangent, since the thought handles are very long.

- Continuity
- This value defines how the tangent is computed. This is also comparable to the handles of a point on a bezier curve. A value of zero will lead to mirrored (merged) handles, resulting in a smooth transition.
- Setting it to -1.0 will result in a simple cusp, giving linear interpolation with sharp corner.
- Setting it even lower will form a sharper cusp, so that the movement inward an outward get more and more mirrored.
- Setting it to higher values then 0 will have the same effect, but the handles will move in mirrored direction. So the interpolation will move from the outside into this waypoint.

- Bias
- This value defines an rotation offset to the computed tangent (or handles). It ranges from -90° to 90°. Only values of -20 to 20 can be used as input, but will be converted (linear?) to this angle range.

- Temporal Tension
- In default the speed for an object is constant while passing equally distanced waypoints with equal time between them. This value can be used to manipulate the speed of the movement.
- Higher values then 0 will force the object to spend more time near that waypoint. Resulting in slow motion shortly before and after the waypoint. On the other hand speed will increase before reaching the next waypoint.
- Lower values then 0 will force the object to pass the waypoint faster. Resulting in slow motion near the previous and next waypoint. Comparable to an ball thats running down a valley. Starting on the left it increases slowly its speed, having its highest speed at the bottom and slows down while running upwards the other side.

## Further Information

- There is some mathematical discussion of TCB here.