Swirl

Transforms

Twists a texture around an adjustable center.

Select a node to adjust its parameters. Double-click a node to inspect.

Inputs

  • input

Parameters

ParameterTypeDefaultRangeDescription
amount
Amount
float8-16 to 16Twist strength and direction. Zero leaves the image unchanged.
offset
Offset
vec2[0, 0]-1 to 1Moves the swirl center from the middle of the canvas.
scale
Scale
vec2[0.5, 0.5]0.01 to 2Width and height of the swirl region relative to the canvas.
rotation
Rotation
float00 to 1Rotates the swirl region. Most visible when its width and height differ.
addressing
Addressing
enumrepeatHow transformed source coordinates outside 0-1 are handled. Repeat wraps sampling, but does not guarantee a tiling-safe transform.
  • background : Fill out-of-bounds transformed areas with Background Color.
  • clamp : Clamp out-of-range coordinates or values to the edge.
  • repeat : Wrap out-of-range coordinates or values back into the 0-1 range.
background_color
Background Color
color[0, 0, 0, 1]Color used when transformed coordinates fall outside the input.
filter_mode
Filter
enumbilinearTexture filtering mode.
  • bilinear : Use bilinear sampling for smoother resampling.
  • nearest : Use nearest-neighbor sampling for hard pixel edges.

Outputs

  • output (default format: inherit)