SMOOTH(3VRM)Pyon manual · Mochi and Onigiri as VRM 1.0 avatars (tools/make-vrm.py, Python)SMOOTH(3VRM)

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

tube(3vrm)

SOURCE

tools/make-vrm.py, line 145

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0