VRMLINSPACE(3VRMWL)Pyon manual · Mochi and Onigiri as VRM 1.0 avatars, in the Wolfram Language (tools/ff_makevrm.nb)VRMLINSPACE(3VRMWL)

NAME

vrmLinspace — n evenly spaced numbers from a to b, as NumPy's linspace

SYNOPSIS

vrmLinspace[a, b, n]

DESCRIPTION

a + i (b − a)/(n − 1) for i from 0 to n − 2, then b itself, as NumPy computes it, so that the smile's and the closed eyes' points are the same numbers as in Python.

EXAMPLE

vrmLinspace[-.022, .022, 11]    (* the eleven points of Mochi's smile *)

SEE ALSO

vrmMochi(3vrmwl), vrmOnigiri(3vrmwl)

SOURCE

tools/ff_makevrm.nb: line 7 of its cells one after another (docs/man/src/ff_makevrm-cells.txt)

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0