Nodes/Skoogeer-Noise/Fluid Image Advection
ComfyUI Node

Fluid Image Advection

A ComfyUI node in image/perturb with 14 inputs and 2 outputs.

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
Fluid Image Advection
  • image
  • mask
  • image
  • velocity_preview
steps20
dt1.00
resolution_scale0.50
force_count3
force_strength5.0
force_radius0.10
swirl_strength2.0
velocity_damping0.980
diffusion0.00
vorticity0.00
seed0
wrap_modeclamp
Categoryimage/perturb

Inputs (14)

NameTypeDefaultDescription
imageIMAGEImage to distort by fluid advection.
stepsINT200–256Number of simulation steps.
dtFLOAT1.000–4Time step size used during semi-Lagrangian advection.
resolution_scaleFLOAT0.500.25–1Internal simulation resolution scale (lower = faster).
force_countINT30–64Number of random force injections ('sticks') per step.
force_strengthFLOAT5.00–256Linear force magnitude added to velocity (in pixels / step).
force_radiusFLOAT0.100–1Normalized radius of influence (0.1 = 10% of min(width,height)).
swirl_strengthFLOAT2.00–256Rotational component added around each stick position.
velocity_dampingFLOAT0.9800–1Velocity decay applied each step (lower = more viscous / quickly settles).
diffusionFLOAT0.000–1Optional velocity diffusion (simple Gaussian smoothing).
vorticityFLOAT0.000–10Vorticity confinement strength (adds swirling detail).
seedINT00–18446744073709550000Seed controlling the random stick injections.
wrap_modeCOMBOclampHow advection samples outside the bounds.
maskoptMASKOptional mask to limit the effect to masked areas (mask is resized to image resolution).

Outputs (2)

NameTypeDescription
imageIMAGE
velocity_previewIMAGE