Skip to content

Intermact API Reference / @intermact/core / morph

Function: morph()

morph(source, target, options?): Animation

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

Morph a registered object toward a target definition (design.md §11.4). Strategies: arc-length (point-aligned), anchor (best cyclic rotation), matching (per-part transformer/remover/introducer), cross-fade (dissolve).

Parameters

source

MorphSource

target

IMObject2D

options?

MorphOptions

Returns

Animation

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