@motion-script/core / MorphPlan
Interface: MorphPlan
Defined in: attributes/shape/path/morph.ts:54
A correspondence between two paths, pre-aligned so it can be sampled at any t.
Properties
pairs
pairs:
object[]
Defined in: attributes/shape/path/morph.ts:56
Subpath pairs; each pair has the same number of cubics on both sides.
closed
closed:
boolean
Whether the sampled subpath should be closed with a Z. A pair is closed
when both sides were closed rings — a closed shape morphing to another
closed shape stays closed, so the stroke forms a proper join at the seam
instead of leaving two unconnected free ends.
from
from:
Cubic[]
to
to:
Cubic[]