Skip to content

Intermact API Reference / @intermact/core / transformMatching

Function: transformMatching()

transformMatching(source, target, options?): Animation

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

Part-aware morph between composite objects (design.md §11.4). Sugar for morph(source, target, { strategy: "matching", ... }); matched part keys are transformed, source-only keys collapse (remover), target-only keys grow (introducer). For LaTeX (M10) keys default to token/sub-expression ids.

Parameters

source

MorphSource

target

IMObject2D

options?

MorphOptions

Returns

Animation

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