π IG Float List
Turn a typed-out list of numbers into a per-frame value picker
- current value
- list
- list text
IG Float List is the pack's answer to "I have a list of numbers and I want to pick one by position." You paste a list into a multiline box, set an index, and it hands you the value at that position - along with the full parsed list and a formatted text version. It's the natural driver for per-frame sweeps: feed it a strength or alpha per frame index, then step the index through your animation and each frame gets its own value.
The parsing is genuinely forgiving. It splits the input on commas, semicolons, whitespace, or colons - so 0.1, 0.2, 0.3, 0.1;0.2;0.3, 0.1 0.2 0.3, and 0.1:0.2:0.3 all work. Any token that isn't a valid float raises an error, which is your typo-detector: if you accidentally paste a stray letter, the node fails loudly instead of silently mis-slicing. It also caches the parse: it only re-splits when the source text changes, so repeated runs with the same list are cheap.
Inputs:
- float_list -
STRING, multiline. The numbers to parse. - index -
INT, default1, 1-based position to pick. - decimal_places -
INT, default3, controls the precision of the formatted text output.
Outputs (three, and they're easy to confuse):
- current value -
FLOAT, the single number atindex. - list -
FLOAT, the full parsed list of floats (this is a Python list of floats). - list text -
STRING_LIST, the same values re-formatted todecimal_placesas strings.
The index is 1-based and clamps rather than errors: if index is beyond the end of the list, it returns the last element, so your workflow doesn't crash mid-sweep - it just holds the final value. That's a quiet behavior worth knowing before you rely on it.
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, restart. No models, no heavy deps. It shares its category (π IG Nodes/Primitives) with IG String List, which does the same trick for text split on newlines - reach for that one when your per-frame values are prompts instead of numbers. The README is :), but the parse rules above are straight from nodes/primitives.py.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| index | INT | 11β100 | β |
| decimal_places | INT | 3 | β |
| float_list | STRING | β |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| current value | FLOAT | β |
| list | FLOAT | β |
| list text | STRING_LIST | β |