Nodes/IG Interpolation Nodes/๐Ÿงฎ IG Multiply
ComfyUI Node

๐Ÿงฎ IG Multiply

A float multiply for when you want the math visible in the graph

By IDGallagherยทCreated 3 years agoยทUpdated about a year agoยท 3
๐Ÿงฎ IG Multiply
    • FLOAT
    โ—„Value_A1โ–บ
    โ—„Value_B1โ–บ

    IG Multiply is exactly what the name says: two floats in, their product out. Value_A ร— Value_B = FLOAT. It's the pack's single math node, and while any custom-node pack worth its salt ships a multiply, this one has a specific reason to exist here: the pack's whole premise is parameter sweeps, and scaling a parameter is the most common arithmetic a sweep needs. Half your strength values are really base_value ร— 0.7 or base_value ร— scale.

    Inputs:

    • Value_A - FLOAT, default 1.
    • Value_B - FLOAT, default 1.

    Output: a single FLOAT - the product. The step size is 0.0000001, matching the pack's precision theme, so you can scale a fine-grained parameter without rounding it away. There's no clamping, no overflow handling beyond what Python floats give you, and no integer variant - if you need integer multiplication, that's on you to round afterward.

    Its practical role is as the "gain stage" in a latent-walk or animation workflow: keep one IG Float as your master value, run it through IG Multiply against a per-frame scale (driven by something like IG Float List), and feed the result into whatever conditioning strength the frame needs. It also plays nicely as a general utility when a node expects a float and you want to compute it rather than type it. If you've used ComfyUI's own math tools you know the drill - this is that, with the pack's own precision semantics.

    Install is the pack standard:

    cd ComfyUI/custom_nodes
    git clone https://github.com/IDGallagher/ComfyUI-IG-Nodes
    cd ComfyUI-IG-Nodes && pip install -r requirements.txt
    

    Or ComfyUI Manager โ†’ search "IG Interpolation Nodes" โ†’ Install, then restart. No models, no extra dependencies beyond the pack baseline. Troubleshooting is limited to the obvious: if the output is wrong, one of your inputs is wrong - this node cannot be the source of a surprising result. The README is :); the node is a single multiplication in nodes/math.py.

    Category๐Ÿ“ IG Nodes/Math

    Inputs (2)

    NameTypeDefaultDescription
    Value_AFLOAT1โ€”
    Value_BFLOAT1โ€”

    Outputs (1)

    NameTypeDescription
    FLOATFLOATโ€”