@motion-script/core / buildMorph
Function: buildMorph()
buildMorph(
from,to):MorphPlan
Defined in: attributes/shape/path/morph.ts:512
Build a reusable MorphPlan aligning from to to. All the expensive
work — converting to cubics, pairing subpaths, equalizing counts, and rotating
rings — happens here once; sampleMorph then samples it cheaply per frame.