Nodes/Skoogeer-Noise/Fluid Latent Advection
ComfyUI Node

Fluid Latent Advection

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

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
Fluid Latent Advection
  • latent
  • mask
  • latent
  • 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
Categorylatent/perturb

Inputs (14)

NameTypeDefaultDescription
latentLATENTLatent to distort by fluid advection (treats channels as dye).
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–64Linear force magnitude added to velocity (in latent pixels / step).
force_radiusFLOAT0.100–1Normalized radius of influence (0.1 = 10% of min(width,height)).
swirl_strengthFLOAT2.00–64Rotational 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 latent resolution).

Outputs (2)

NameTypeDescription
latentLATENT
velocity_previewIMAGE