Skip to content

Intermact API Reference / @intermact/core / alignMorphContours

Function: alignMorphContours() ​

alignMorphContours(source, target, sampleCount): AlignedMorph

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

Back-compat helper (pre-M9): arc-length aligned contours.

Parameters ​

source ​

IMObject2D

target ​

IMObject2D

sampleCount ​

number

Returns ​

AlignedMorph

Deprecated ​

Use buildMorphFrames.

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