Skip to content

WaveOptions

Defined in: effects/src/wave.ts:8

Options for the wave preset.

optional amplitude?: number

Defined in: effects/src/wave.ts:10

Horizontal displacement amplitude in pixels. Drives getIntensity. Default: 6.


optional speed?: number

Defined in: effects/src/wave.ts:14

Animation speed in cycles/second. Default: 1.


optional wavelength?: number

Defined in: effects/src/wave.ts:12

Wavelength in pixels — distance between successive wave peaks. Default: 40.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/effects.md.