Nodes/WAS Affine/Affine Green Noise Options
ComfyUI Node

Affine Green Noise Options

The mid-frequency sweet spot

By WASasquatch·Created about a year ago·Updated 5 months ago· 5
Affine Green Noise Options
    • noise_options
    green_center_frac0.38
    green_bandwidth_frac0.18

    Most noise has energy everywhere. Green noise is the band-passed middle child: it concentrates its energy in the mid-frequency band and leaves the low and high ends quiet. In WAS Affine that makes the green_noise mask the "natural texture" option - detail that reads as organic without either the harsh sparkle of high-frequency noise or the big structureless blobs of low-frequency stuff. Affine Green Noise Options tunes it with two knobs and emits a noise_options DICT.

    The knobs

    • green_center_frac (default 0.38) - where the band sits, as a fraction of Nyquist. 0.38 is solidly mid-frequency; slide it down toward the low end for broader textures, up for finer.
    • green_bandwidth_frac (default 0.18) - how wide the band is around the center. Narrow = a pure, clean mid-frequency tone; wide = it bleeds into the neighbors.

    How it fits

    Wire noise_options into Latent Affine, an affine sampler, or Affine Pattern Noise. In the spectral family it's the one that reads as genuinely natural - it's a good default when white noise feels too busy and perlin feels too blobby. Mid-frequency detail is also the band that reads most like actual texture in generated images, which is why green tends to land well for fabric, foliage, and skin without amplifying sensor-noise-like sparkle.

    The defaults are fine out of the box - the two knobs exist for when you know the target look. Blur in the common options still applies on top if you want the mask softened further.

    Installing

    Part of WAS Affine by WASasquatch. ComfyUI Manager → Install Custom Nodes → search "WAS Affine" → install → restart, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/WASasquatch/was_affine
    

    Restart ComfyUI. ComfyUI 1.0.0+, torch and numpy.

    Common issues

    Setting bandwidth too wide turns green noise into plain white noise with extra steps - you lose the mid-band character you picked it for. Keep it under ~0.3 unless you're deliberately blending bands. And as with every options node, the DICT must actually be connected to an affine node to do anything. If you're on the Super Options node (WASLatentAffineOptions), the green_center_frac/green_bandwidth_frac inputs there are the same keys.

    Categorylatent/adjust

    Inputs (2)

    NameTypeDefaultDescription
    green_center_fracFLOAT0.380–1Band-pass center as fraction of Nyquist (mid-frequencies).
    green_bandwidth_fracFLOAT0.180.01–1Relative bandwidth around the center frequency.

    Outputs (1)

    NameTypeDescription
    noise_optionsDICT