ComfyUI Node

Random Float

A ComfyUI node in random with 6 inputs and 5 outputs.

By Mistralys·Created 21 days ago·Updated 21 days ago· 0
Random Float
    • VALUE
    • RANGE_FROM
    • RANGE_TO
    • PRECISION
    • STEP
    range_from0.00
    range_to1.00
    precision2
    step0.00
    value0.00
    randomizedfalse
    Categoryrandom

    Inputs (6)

    NameTypeDefaultDescription
    range_fromFLOAT0.00Minimum float value to generate.
    range_toFLOAT1.00Maximum float value to generate.
    precisionINT2Number of decimal places.
    stepFLOAT0.00Snap generated values to this step grid. 0.0 means no stepping.
    valueFLOAT0.00The randomized value. Reused when 'randomized' is off.
    randomizedBOOLEANfalseWhether to generate a new random value on the next run.

    Outputs (5)

    NameTypeDescription
    VALUEFLOATThe generated (or stored) float value.
    RANGE_FROMFLOATPassthrough of the input value.
    RANGE_TOFLOATPassthrough of the input value.
    PRECISIONINTPassthrough of the input value.
    STEPFLOATPassthrough of the input value.