@motion-script/core / WaveOptions
Interface: WaveOptions
Defined in: attributes/shape/effects/chain.ts:423
Sine warp. Scalar shorthand sets amplitude on the Y axis — the everyday ripple.
Extends
Properties
amplitude?
optionalamplitude?:number|Vector2
Defined in: attributes/shape/effects/chain.ts:425
Peak displacement in px — a number (Y only), or per-axis via { x, y } (default 20).
angle?
optionalangle?:number
Defined in: attributes/shape/effects/chain.ts:433
Direction the crests advance along, in degrees (default 0). 'linear' only.
center?
optionalcenter?:Vector2
Defined in: attributes/shape/effects/chain.ts:435
Ring origin in 0–1 layer coords (default middle). 'radial' only.
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
phase?
optionalphase?:number
Defined in: attributes/shape/effects/chain.ts:429
Phase in degrees; tween over 360 for one seamless loop (default 0).
shape?
optionalshape?:WaveShape
Defined in: attributes/shape/effects/chain.ts:431
Parallel bands or concentric rings (default 'linear').
wavelength?
optionalwavelength?:number
Defined in: attributes/shape/effects/chain.ts:427
Distance between crests in px (default 120).