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.

By yvann-ba·Created 2 years ago·Updated 5 months ago· 705
Invert Floats
  • floats
  • inverted_floats
Category👁️ Yvann Nodes/🛠️ Utils

Inputs (1)

NameTypeDefaultDescription
floatsFLOATSList of float values to invert relative to range midpoint

Outputs (1)

NameTypeDescription
inverted_floatsFLOATS