Nodes/Skoogeer-Noise/Image Reaction-Diffusion
ComfyUI Node

Image Reaction-Diffusion

A ComfyUI node in Image/Noise with 12 inputs and 1 output.

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
Image Reaction-Diffusion
  • image
  • mask
  • IMAGE
seed0
iterations200
feed_rate0.036
kill_rate0.065
diffusion_u0.16
diffusion_v0.08
time_step1.00
strength0.75
channel_modeshared
temporal_modelocked
CategoryImage/Noise

Inputs (12)

NameTypeDefaultDescription
imageIMAGEImage that will receive reaction-diffusion patterns.
seedINT00–18446744073709550000Seed for the initial chemical concentrations.
iterationsINT2001–2000Number of Gray-Scott simulation steps.
feed_rateFLOAT0.0360–0.1Feed rate (F) controlling how quickly chemical U is replenished.
kill_rateFLOAT0.0650–0.1Kill rate (K) regulating removal of chemical V.
diffusion_uFLOAT0.160–1Diffusion rate for chemical U.
diffusion_vFLOAT0.080–1Diffusion rate for chemical V.
time_stepFLOAT1.000.01–5Simulation time step used during integration.
strengthFLOAT0.750–5Scale of the normalized pattern relative to the image's standard deviation.
channel_modeCOMBOsharedReuse one simulation for all channels or rerun per channel.
temporal_modeCOMBOlockedlocked reuses the same pattern for every frame; animated reruns the simulation per frame.
maskoptMASKOptional mask (often image-sized) to limit the pattern injection to masked areas. The mask is resized to the image resolution (bicubic when downscaling).

Outputs (1)

NameTypeDescription
IMAGEIMAGE