Skip to main content

Interface: TransformMatchingShapesOptions

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

Extends

Properties

duration?

optional duration: number

Defined in: animation/Animation.ts:14

Duration of the animation in seconds (default: 1)

Inherited from

AnimationOptions.duration


fadeRatio?

optional fadeRatio: number

Defined in: 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: 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: animation/transform/TransformMatching.ts:29

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


rateFunc?

optional rateFunc: RateFunction

Defined in: animation/Animation.ts:16

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

Inherited from

AnimationOptions.rateFunc


shift?

optional shift: [number, number, number]

Defined in: animation/Animation.ts:18

Shift direction for fade animations

Inherited from

AnimationOptions.shift