Invert Floats
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.
Pack: ComfyUI_Yvann-Nodes
custom_nodes.ComfyUI_Yvann-Nodes
Inputs (1)
| Name | Type | Required |
|---|---|---|
| floats | FLOATS | required |
Outputs (1)
| Name | Type |
|---|---|
| inverted_floats | FLOATS |