Skip to main content

Interface: ChangingDecimalOptions

Defined in: src/animation/numbers/index.ts:14

Options for ChangingDecimal animation

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


endValue​

endValue: number

Defined in: src/animation/numbers/index.ts:18

Ending value (required)


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


startValue?​

optional startValue: number

Defined in: src/animation/numbers/index.ts:16

Starting value (default: current DecimalNumber value)


suspendMobjectUpdating?​

optional suspendMobjectUpdating: boolean

Defined in: src/animation/numbers/index.ts:20

Whether to suspend updating the DecimalNumber display during animation (default: false)