Skip to main content

Interface: GlitchInOptions

Defined in: src/animation/text/kineticTypography.ts:323

Options for glitchIn.

Extends​

Properties​

amplitude?​

optional amplitude: number

Defined in: src/animation/text/kineticTypography.ts:325

Peak position jitter at the start of each glyph's reveal. Default: 0.15.


duration?​

optional duration: number

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

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


lagRatio?​

optional lagRatio: number

Defined in: src/animation/text/kineticTypography.ts:327

Per-glyph stagger. 0 = all together, 1 = sequential. Default: 0.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


shift?​

optional shift: [number, number, number]

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

Shift direction for fade animations

Inherited from​

AnimationOptions.shift