Function: sampledPathFromFunction()
sampledPathFromFunction(
fn,samples):SampledPath
Defined in: src/mobjects/text/textOnPathLayout.ts:175
Build a SampledPath from a parametric function t -> [x, y, z],
t in [0, 1].
Parameters
fn
(t) => number[]
Parametric curve function
samples
number = 200
Number of sample segments (default 200)