Skip to content

distortSpherize

distortSpherize(uv, center, strength, radius): Node<"vec2">

Defined in: packages/nodes/src/distortion/distort.ts:245

Spherize distortion - wraps UV onto a sphere surface.

Parameters

uv

Node<"vec2">

Input UV coordinates

center

Vec2Input = ...

Effect center

strength

FloatInput = 1

Spherize strength (0-1)

radius

FloatInput = 0.5

Effect radius

Returns

Node<"vec2">

Spherized UV coordinates