Nodes/Skoogeer-Noise/Latent Smoke Simulation
ComfyUI Node

Latent Smoke Simulation

A ComfyUI node in latent/perturb with 23 inputs and 3 outputs.

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
Latent Smoke Simulation
  • latent
  • mask
  • latent
  • density_preview
  • velocity_preview
steps30
output_modefinal
dt1.00
resolution_scale0.50
force_count3
force_strength5.0
force_radius0.10
swirl_strength2.0
velocity_damping0.980
diffusion0.00
vorticity0.30
buoyancy1.50
ambient_updraft0.10
density_fade0.010
temperature_strength0.00
cooling_rate0.05
smoke_source_strength1.00
smoke_source_radius0.10
smoke_source_modeimage
seed0
wrap_modeclamp
Categorylatent/perturb

Inputs (23)

NameTypeDefaultDescription
latentLATENTLatent to simulate as smoke (buoyancy-driven advection).
stepsINT300–256Number of simulation steps (or batch size when output_mode='batch').
output_modeCOMBOfinalWhen 'batch', returns a batch of intermediate outputs after each step (1..steps).
dtFLOAT1.000–4Time step size used during advection.
resolution_scaleFLOAT0.500.25–1Internal simulation resolution scale (lower = faster).
force_countINT30–64Number of random force injections ('sticks') per step. When smoke_source_mode='random', also controls puff count.
force_strengthFLOAT5.00–64Linear force magnitude added to velocity (latent pixels / step).
force_radiusFLOAT0.100–1Normalized radius of influence for stick forces (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 (Gaussian smoothing).
vorticityFLOAT0.300–10Vorticity confinement strength (adds billowing/swirl detail).
buoyancyFLOAT1.500–10Strength of upward buoyant force.
ambient_updraftFLOAT0.100–10Constant upward airflow added each step.
density_fadeFLOAT0.0100–1Density dissipation per step (higher = smoke dissipates faster).
temperature_strengthFLOAT0.000–10Initial temperature injection per step (hotter smoke rises more).
cooling_rateFLOAT0.050–1Temperature decay per step.
smoke_source_strengthFLOAT1.000–10Amount of smoke density injected each step.
smoke_source_radiusFLOAT0.100–1Radius of smoke injection (normalized). Used as puff radius in random mode; softens the source in image/mask modes.
smoke_source_modeCOMBOimageSmoke source mode: 'image' derives density from the input latent; 'random' injects random puffs; 'mask' injects from a MASK input.
seedINT00–18446744073709550000Seed controlling random forces and random sources.
wrap_modeCOMBOclampHow advection samples outside the bounds.
maskoptMASKUsed when smoke_source_mode='mask' to define the emission region (resized to latent resolution).

Outputs (3)

NameTypeDescription
latentLATENT
density_previewIMAGE
velocity_previewIMAGE