Intermact API Reference / @intermact/core / buildMatchingFrames
Function: buildMatchingFrames()
buildMatchingFrames(
source,target,matchBy,count):AlignedMorph
Defined in: packages/core/src/animation/morph.ts:231
Build aligned frames for the matching strategy (design.md §11.4). Matched keys transform; source-only keys collapse to their centroid (remover); target-only keys grow from their centroid (introducer). The result is one flat aligned set so the morph track stays a single seekable geometry override.
Parameters
source
target
matchBy
MatchByFn | undefined
count
number