@motion-script/core / createPathSampler
Function: createPathSampler()
createPathSampler(
d):PathSampler
Defined in: attributes/shape/path/sampler.ts:210
Build a PathSampler from any PathData (SVG string or command array). Flattens the geometry once and precomputes a cumulative arc-length table for the walk.