Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform numeric operations on schedule lists: addition, subtraction, multiplication, division, normalization.
SaltListOperation is a versatile node designed to perform numeric operations on schedule lists. This node allows you to manipulate and transform lists of numerical values through various operations such as addition, subtraction, multiplication, division, and normalization. By providing a flexible and powerful way to handle numeric data, SaltListOperation can be used to fine-tune and adjust schedules for different parameters in your AI art projects. Whether you need to combine multiple lists, apply mathematical expressions, or convert the output to different types, this node offers a comprehensive solution to manage and process your numeric schedules effectively.
This parameter represents the first list of numerical values that you want to operate on. It can be a single value or a list of values. If a single value is provided, it will be expanded to match the length of the second list. This flexibility allows you to perform operations on lists of different lengths by automatically adjusting the shorter list to match the longer one.
This parameter represents the second list of numerical values that you want to operate on. Similar to schedule_list_a
, it can be a single value or a list of values. If a single value is provided, it will be expanded to match the length of the first list. This ensures that both lists are of equal length before performing the specified operation.
This parameter specifies the type of numeric operation to be performed on the input lists. Common operations include addition, subtraction, multiplication, division, and normalization. The choice of operation determines how the values in schedule_list_a
and schedule_list_b
will be combined or transformed.
This parameter defines the type of the output values. It can be set to "int" for integer values, "float" for floating-point values, or "boolean" for boolean values. This allows you to control the format of the resulting list, ensuring it meets the requirements of subsequent nodes or processes in your workflow.
This optional parameter allows you to provide a custom mathematical expression to be applied to the input lists. By using this parameter, you can define complex operations and transformations that go beyond the basic arithmetic operations. This adds an extra layer of flexibility and customization to the node's functionality.
The output of the SaltListOperation node is a list of numerical values resulting from the specified operation. The format of the values in this list is determined by the output_type
parameter. This output can be used as input for other nodes or processes, enabling seamless integration and further manipulation of the data in your AI art projects.
output_type
parameter to format the result list according to the needs of subsequent nodes in your workflow.expression
parameter to create custom transformations and achieve unique effects in your schedules.min_value
parameter is less than or equal to the max_value
parameter when using clamping operations.operation
parameter.operation
parameter is set to a valid operation such as addition, subtraction, multiplication, division, or normalization.output_type
.output_type
. For example, ensure that all values can be converted to integers if output_type
is set to "int".© Copyright 2024 RunComfy. All Rights Reserved.