Skip to content

distortPerlin(uv, strength?, scale?, time?, octaves?): Node <"vec2">

Defined in: packages/nodes/src/distortion/distortNoise.ts:126

Apply Perlin noise distortion for smoother, more organic displacement.

Node <"vec2">

Input UV coordinates

FloatInput = 0.02

Distortion strength

FloatInput = 5

Noise scale

FloatInput = 0

Animation time

number = 1

Number of noise octaves for detail (default: 1)

Node <"vec2">

Perlin-distorted UV coordinates

const distorted = distortPerlin(uv, 0.02, 8, time, 2)