MotionScript

@motion-script/core


@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?

optional amplitude?: 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?

optional angle?: number

Defined in: attributes/shape/effects/chain.ts:433

Direction the crests advance along, in degrees (default 0). 'linear' only.


center?

optional center?: Vector2

Defined in: attributes/shape/effects/chain.ts:435

Ring origin in 0–1 layer coords (default middle). 'radial' only.


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

EffectOptions.mode


phase?

optional phase?: number

Defined in: attributes/shape/effects/chain.ts:429

Phase in degrees; tween over 360 for one seamless loop (default 0).


shape?

optional shape?: WaveShape

Defined in: attributes/shape/effects/chain.ts:431

Parallel bands or concentric rings (default 'linear').


wavelength?

optional wavelength?: number

Defined in: attributes/shape/effects/chain.ts:427

Distance between crests in px (default 120).