Skip to main content

Interface: WiggleOptions

Defined in: animation/indication/Wiggle.ts:13

Extends

Properties

aboutPoint?

optional aboutPoint: Vector3Tuple

Defined in: animation/indication/Wiggle.ts:23

Point to wiggle about. Default: mobject center


duration?

optional duration: number

Defined in: animation/Animation.ts:14

Duration of the animation in seconds (default: 1)

Inherited from

AnimationOptions.duration


nWiggles?

optional nWiggles: number

Defined in: animation/indication/Wiggle.ts:17

Number of wiggles. Default: 6


rateFunc?

optional rateFunc: RateFunction

Defined in: animation/Animation.ts:16

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

Inherited from

AnimationOptions.rateFunc


rotationAngle?

optional rotationAngle: number

Defined in: animation/indication/Wiggle.ts:15

Maximum rotation angle in radians. Default: PI/12 (15 degrees)


rotationAxis?

optional rotationAxis: Vector3Tuple

Defined in: animation/indication/Wiggle.ts:21

Axis to rotate about. Default: [0, 0, 1] (Z axis)


scaleFactor?

optional scaleFactor: number

Defined in: animation/indication/Wiggle.ts:19

Scale factor at peak of wiggle. Default: 1.1


shift?

optional shift: [number, number, number]

Defined in: animation/Animation.ts:18

Shift direction for fade animations

Inherited from

AnimationOptions.shift