Skip to main content

Interface: ChangingDecimalOptions

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

Options for ChangingDecimal animation

Extends

Properties

duration?

optional duration: number

Defined in: animation/Animation.ts:14

Duration of the animation in seconds (default: 1)

Inherited from

AnimationOptions.duration


endValue

endValue: number

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

Ending value (required)


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


startValue?

optional startValue: number

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

Starting value (default: current DecimalNumber value)


suspendMobjectUpdating?

optional suspendMobjectUpdating: boolean

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

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