Nodes/was-node-suite-comfyui/Image Power Noise
ComfyUI Node Runs on cloud

Image Power Noise

Procedural white/pink/blue noise textures, not the diffusion kind

By WASasquatch·Created 3 years ago·Updated a day ago· 1,839
Image Power Noise
    • image
    width512
    height512
    frequency0.50
    attenuation0.50
    noise_type
    seed0

    Not to be confused with the noise your sampler adds during generation - this is a straight-up noise image generator, built on power-law noise the way audio people talk about white noise, pink noise, and the rest of that family. Feed it nothing but settings and it hands you an image of pure procedural texture: static, grain, colored noise fields. Useful as an init image to blend into a diffusion pass, a texture layer, or raw material for further filtering.

    How it works

    The README documents this one in more detail than most, so these are real, not guessed: you control frequency (how fine or coarse the noise texture is - Fourier terms, basically: high frequency reads as fine detail, low frequency as broad blotches), attenuation (how strong the noise is - how far values swing from the mean, weak and smooth versus strong and busy), and noise_type, a choice between white, grey, pink, green, and blue noise. Each of those colors describes a different frequency distribution - white is flat across all frequencies, pink and blue skew toward low or high frequencies respectively - the same vocabulary used for noise coloring in audio, applied here to a 2D image field instead of a waveform.

    What comes out and where it goes

    The output is a plain IMAGE - a generated noise texture at whatever size you set, ready to feed anywhere an image socket takes input. Common destinations: blending it into a latent or image as an init source (WAS also has an "Image to Noise" node for the reverse direction, converting a real image into noise for exactly this kind of blending), layering it as a texture in a compositing chain, or just using it as raw grain you dial in over a finished image.

    How to install it

    ComfyUI Manager: search "WAS Node Suite," install, restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/WASasquatch/was-node-suite-comfyui
    

    then, from inside that folder, install requirements - path/to/ComfyUI/python_embeded/python.exe -s -m pip install -r requirements.txt on portable, pip install -r requirements.txt on system Python. Restart ComfyUI; look under WAS Suite.

    Common issues & troubleshooting

    Procedural noise generation in WAS Node Suite leans on numba for speed (it JIT-compiles the noise math rather than looping over pixels in plain Python), and numba is a genuinely common source of import failures for this pack - not a rare edge case. People hit ModuleNotFoundError: No module named 'numba' when they installed dependencies with a system Python instead of the embedded interpreter (fixed the same way every time: rerun path/to/ComfyUI/python_embeded/python.exe -s -m pip install -r requirements.txt from inside the WAS folder, using the embedded Python specifically), and separately, numba pins a maximum NumPy version - a newer pack that's pulled NumPy 2.x onto your system can trigger ImportError: Numba needs NumPy 2.0 or less. Got NumPy 2.x and take WAS's import down with it. If Image Power Noise (or the whole suite) won't load, numba/NumPy is one of the first places to look, not a rare theory.

    Beyond that, the pack-wide caveat still applies: WAS Node Suite has had no active development since being marked retired in December 2023, so a version clash like this doesn't get an upstream fix - you're managing the dependency pin yourself if it comes up.

    CategoryWAS Suite/Image/Generate

    Inputs (6)

    NameTypeDefaultDescription
    widthINT51264–4096Width of the generated image, in pixels.
    heightINT51264–4096Height of the generated image, in pixels.
    frequencyFLOAT0.500–10The frequency shaping is worked out from the image size alone, so changing this value does not change the image; use noise_type to choose the grain size.
    attenuationFLOAT0.500–10Spread of the random draw the grey, pink, blue, green and mix types are built from. The result is stretched to fill black-to-white afterwards, so this changes the character of the grain rather than its brightness. 0.0 leaves nothing to stretch and gives a blank image; `white` ignores it.
    noise_typeCOMBOWhich distribution to draw. `white` and `grey` are even, per-pixel static, uniform and bell-curved respectively; `pink` is weighted towards large soft blobs; `blue` towards fine grain, which dithers without visible clumps; `green` sits between the two; `mix` composites white, grey and pink through blue noise masks for a cloudier, patchier result.
    seedINT00–18446744073709550000Which draw is used. The same seed always gives the same image, so change it for a different one. Values above 4294967294 are folded down into range and the log says what was used instead.

    Outputs (1)

    NameTypeDescription
    imageIMAGEThe noise, as a greyscale image with all three channels equal.