Skip to content

ShockwaveOptions

Defined in: effects/src/shockwave.ts:9

Options for the shockwave preset.

optional amplitude?: number

Defined in: effects/src/shockwave.ts:13

Ripple amplitude in pixels of the filter target’s local space. Default: 30.


optional brightness?: number

Defined in: effects/src/shockwave.ts:17

Ripple brightness multiplier. Unitless. Default: 1.


optional duration?: number

Defined in: effects/src/shockwave.ts:24

Auto-trigger duration in ms — ramp time from 0 then idle. Default: 1000.


optional radius?: number

Defined in: effects/src/shockwave.ts:22

Maximum radius in pixels of the filter target’s local space. -1 (default) keeps the ring expanding forever (no max-radius fade).


optional speed?: number

Defined in: effects/src/shockwave.ts:11

Ripple speed in pixels/second of the filter target’s local space. Default: 500.


optional wavelength?: number

Defined in: effects/src/shockwave.ts:15

Ripple wavelength in pixels of the filter target’s local space. Default: 160.