Nodes/ComfyCollectorNodes/Gated Increment (CCN)
ComfyUI Node

Gated Increment (CCN)

Integer that increments or randomizes every N runs. Counter persists across ComfyUI restarts.

By valkymaera·Created 3 months ago·Updated 4 days ago· 1
Gated Increment (CCN)
    • INT
    value0
    rate5
    mode
    timing
    step1
    reset_counterfalse
    debugfalse
    CategoryCCN/utils

    Inputs (7)

    NameTypeDefaultDescription
    valueINT0-9007199254740991–9007199254740991
    rateINT51–1000000Number of runs between each value change.
    modeCOMBO2 options: increment, random
    timingCOMBO2 options: before, after
    stepINT11–1000000Amount to add in increment mode.
    reset_counterBOOLEANfalseReset the run counter to 0. Toggle on, run once, toggle off.
    debugBOOLEANfalse

    Outputs (1)

    NameTypeDescription
    INTINT