Skip to main content

Interface: TransformMatchingShapesOptions

Defined in: src/animation/transform/TransformMatching.ts:27

Extends​

Properties​

duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


fadeRatio?​

optional fadeRatio: number

Defined in: src/animation/transform/TransformMatching.ts:33

Fade duration as fraction of total duration (0-0.5). Default: 0.25


keyFunc()?​

optional keyFunc: (vmobject) => string

Defined in: src/animation/transform/TransformMatching.ts:31

Key function to extract identifier for matching. If provided, uses this instead of shape similarity

Parameters​

vmobject​

VMobject

Returns​

string


matchThreshold?​

optional matchThreshold: number

Defined in: src/animation/transform/TransformMatching.ts:29

Minimum similarity threshold for matching (0-1). Default: 0.5


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

Rate function controlling the animation's pacing (default: smooth)

Inherited from​

AnimationOptions.rateFunc


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift