Next: threecolors, Previous: tense_curve, Up: Internal Routines [Contents][Index]
tense_loop(x, y, xf [, tension])
Interpolates closed curves using splines under tension, and returns a 2d
array containing the x and y coordinates of the interpolated points.
The input points have coordinates (x, y)
(array
s). The interpolation is performed at points determined by
the fraction of curve length from the start, xf
, which
ranges between 0
and 1
. tension
governs the
tenseness of the interpolation curve. It defaults to 1
and must
not be smaller.
See also: tense, tense_curve