ComfyUI Node
Invert Floats
Inverts each value in a list of floats relative to the range midpoint. Takes a list of float values and flips them around the midpoint between the minimum and maximum values in the list. For example, if the range is 0.0 to 1.0, a value of 0.3 becomes 0.7. Useful for inverting audio weights or other float-based animations. The output inverted_floats contains the inverted list of float values.
Invert Floats
- floats
- inverted_floats
Category👁️ Yvann Nodes/🛠️ Utils
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| floats | FLOATS | List of float values to invert relative to range midpoint |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| inverted_floats | FLOATS | — |