ShockwaveOptions
Defined in: effects/src/shockwave.ts:14
Options for the shockwave preset.
Properties
Section titled “Properties”amplitude?
Section titled “amplitude?”
optionalamplitude?:number
Defined in: effects/src/shockwave.ts:18
Ripple amplitude in pixels of the filter target’s local space. Default: 30.
brightness?
Section titled “brightness?”
optionalbrightness?:number
Defined in: effects/src/shockwave.ts:22
Ripple brightness multiplier. Unitless. Default: 1.
direction?
Section titled “direction?”
optionaldirection?:ShockwaveDirection
Defined in: effects/src/shockwave.ts:32
Ring travel. "out" expands from the trigger point. "in" starts
speed × duration pixels away and contracts onto it. Default: "out".
duration?
Section titled “duration?”
optionalduration?:number
Defined in: effects/src/shockwave.ts:34
Auto-trigger duration in seconds — ramp time between 0 and duration then idle. Default: 1.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: effects/src/shockwave.ts:27
Maximum radius in pixels of the filter target’s local space.
-1 (default) keeps the ring expanding forever (no max-radius fade).
speed?
Section titled “speed?”
optionalspeed?:number
Defined in: effects/src/shockwave.ts:16
Ripple speed in pixels/second of the filter target’s local space. Default: 500.
wavelength?
Section titled “wavelength?”
optionalwavelength?:number
Defined in: effects/src/shockwave.ts:20
Ripple wavelength in pixels of the filter target’s local space. Default: 160.
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.