Nodes/Skoogeer-Noise/Image Mesh Drag
ComfyUI Node

Image Mesh Drag

A ComfyUI node in image/perturb with 10 inputs and 1 output.

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
Image Mesh Drag
  • image
  • image
seed0
points12
drag_min0
drag_max32
direction-1
stroke_width-1
displacement_interpolationbicubic
spline_passes2
sampling_interpolationbilinear
Categoryimage/perturb

Inputs (10)

NameTypeDefaultDescription
imageIMAGEImage to warp spatially using a random mesh drag.
seedINT00–18446744073709550000Seed controlling which mesh points are dragged and by how much.
pointsINT120–4096Number of mesh vertices to randomly drag.
drag_minFLOAT00–4096Minimum drag distance (image pixels).
drag_maxFLOAT320–4096Maximum drag distance (image pixels).
directionFLOAT-1-1–360Drag direction in degrees (0=up, 90=right, 180=down, 270=left). Set to -1 to allow random directions.
stroke_widthFLOAT-1-1–16384When >0, limits the warp to narrow brush-stroke channels aligned with the direction (one per dragged mesh point; stroke centers are jittered when direction is fixed). Units are image pixels. Set to -1 to disable.
displacement_interpolationoptCOMBObicubicHow to interpolate the sparse mesh drags into a full displacement field. Use 'bspline' for smoother, more organic warps.
spline_passesoptINT20–16Only used when displacement_interpolation = 'bspline'. More passes = smoother warp.
sampling_interpolationoptCOMBObilinearHow to sample the source image when applying the warp (bilinear/bicubic/nearest).

Outputs (1)

NameTypeDescription
imageIMAGE