Skip to main content

Interface: LetterSpacingOptions

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

Options for tracking / spreadOut.

Extends​

Properties​

direction?​

optional direction: Vector3Tuple

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

Unit direction glyphs spread along. Default: right [1, 0, 0].


duration?​

optional duration: number

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

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


from?​

optional from: number

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

Start spacing per step. Default: 0.


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


spacing?​

optional spacing: number

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

Target extra spacing per step from the center glyph. Default: 0.3.