Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates dynamic selection of float values based on index for AI art projects, ensuring valid input.
The Big Float Switch [Dream] node is designed to facilitate the selection of a floating-point value from a set of inputs based on a specified index. This node is particularly useful in scenarios where you need to dynamically choose between multiple float values during the execution of your AI art project. By providing a mechanism to switch between different float inputs, it allows for greater flexibility and control over the parameters that influence your creative process. The node ensures that a valid float value is always selected, even if the initially specified index does not correspond to a valid input, by cycling through the available options.
This parameter determines which input float value to select. It is an integer value with a default of 0, and it can range from 0 to 9. The selected index corresponds to one of the input float values provided. If the selected index does not correspond to a valid input, the node will cycle through the inputs based on the on_missing
parameter to find a valid float value.
This parameter specifies the behavior when the selected input is missing or invalid. It can take one of two values: "previous" or "next". If set to "previous", the node will search for the nearest valid input in the reverse order. If set to "next", it will search in the forward order. This ensures that a valid float value is always selected, even if the initially specified index is not valid.
These are the potential float inputs that the node can select from. Each input can be a floating-point value, and the node will choose one of these based on the select
parameter. If no specific value is provided for an input, it defaults to a special value indicating that the input is not set.
This output parameter returns the selected float value based on the select
parameter and the on_missing
behavior. It ensures that a valid float value is always provided, making it a reliable output for further processing in your AI art project.
select
parameter.on_missing
parameter to control the behavior when the selected input is not valid. This can help you manage scenarios where some inputs might be missing or not set.select
parameter is set to an index outside the range of 0 to 9.select
parameter to be within the valid range of 0 to 9.© Copyright 2024 RunComfy. All Rights Reserved.