Skip to main content

Interface: PulseOptions

Defined in: src/animation/indication/FocusOn.ts:206

Pulse animation - makes a mobject pulse (scale up and down) once. A simpler variant of FocusOn that just affects the mobject itself.

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


nPulses?​

optional nPulses: number

Defined in: src/animation/indication/FocusOn.ts:210

Number of pulses. Default: 1


rateFunc?​

optional rateFunc: RateFunction

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

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

Inherited from​

AnimationOptions.rateFunc


scaleFactor?​

optional scaleFactor: number

Defined in: src/animation/indication/FocusOn.ts:208

Scale factor at peak. Default: 1.2


shift?​

optional shift: [number, number, number]

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

Shift direction for fade animations

Inherited from​

AnimationOptions.shift