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
Section titled “Parameters”Node <"vec2">
Input UV coordinates
center?
Section titled “center?”Vec2Input = ...
Center point of the wave effect (default: [0.5, 0.5])
amplitude?
Section titled “amplitude?”FloatInput = 0.02
Wave amplitude
frequency?
Section titled “frequency?”FloatInput = 10
Wave frequency
FloatInput = 0
Animation time
speed?
Section titled “speed?”FloatInput = 1
Animation speed
Returns
Section titled “Returns”Node <"vec2">
Distorted UV coordinates
Example
Section titled “Example”const distortedUV = waveRadial(uv, [0.5, 0.5], 0.03, 15, time)