Skip to content

Intermact API Reference / @intermact/core / buildMorphFrames

Function: buildMorphFrames() ​

buildMorphFrames(source, target, strategy, count): AlignedMorph

Defined in: packages/core/src/animation/morph.ts:195

Build aligned contour frames for arc-length / anchor strategies.

Parameters ​

source ​

IMObject2D

target ​

IMObject2D

strategy ​

"arc-length" | "anchor"

count ​

number

Returns ​

AlignedMorph

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)