NAME
smooth — a smooth curve through a few points
SYNOPSIS
smooth(pts, rads, k=8)
DESCRIPTION
A Catmull-Rom curve through the points, with k steps between each two, and the radii eased between them the same way: six hand-placed points become Mochi's round, curling tail.
PARAMETERS
pts: the points. rads: one radius per point. k: steps between each two points; 8 by default.
RETURN VALUE
(points, radii), ready for tube().
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
