waveRadial
waveRadial(
uv,center,amplitude,frequency,time,speed):Node<"vec2">
Defined in: packages/nodes/src/distortion/wave.ts:81
Apply radial wave distortion emanating from center. Creates a pulsing distortion effect.
Parameters
uv
Node<"vec2">
Input UV coordinates
center
Vec2Input = ...
Center point of the wave effect (default: [0.5, 0.5])
amplitude
FloatInput = 0.02
Wave amplitude
frequency
FloatInput = 10
Wave frequency
time
FloatInput = 0
Animation time
speed
FloatInput = 1
Animation speed
Returns
Node<"vec2">
Distorted UV coordinates
Example
const distortedUV = waveRadial(uv, [0.5, 0.5], 0.03, 15, time)