Visit ComfyUI Online for ready-to-use ComfyUI environment
Integer operation node adding optional offset for arithmetic manipulations, returning original and modified values.
The IntAndIntAddOffsetLiteral
node is designed to handle integer operations by taking an input number and optionally adding an offset to it. This node is particularly useful when you need to perform simple arithmetic operations within your workflow, such as incrementing a value by a specified amount. The primary function of this node is to return the original integer and the integer after adding the offset, making it a versatile tool for various numerical manipulations. This can be especially beneficial in scenarios where you need to generate sequences or adjust values dynamically based on user input or other parameters.
The number
parameter is the primary integer input for the node. It represents the base value that will be used in the arithmetic operation. This parameter is required and has a default value of 0. The minimum value for number
is 0, and the maximum value is 1,000,000. This parameter is crucial as it serves as the starting point for the addition operation.
The offset
parameter is an optional integer that specifies the amount to be added to the number
parameter. It has a default value of 1 and a step value of 1, allowing for precise control over the increment. This parameter is optional, meaning that if it is not provided, the node will still function but will use the default offset value. The offset
parameter allows for flexible adjustments to the base number, enabling dynamic value changes.
The int
output parameter represents the original integer value provided through the number
input. This output is essential for retaining the base value, which can be used in subsequent operations or for reference purposes.
The int add offset
output parameter is the result of adding the offset
value to the number
input. This output provides the incremented value, which can be used for further calculations or as an adjusted value in your workflow. It is particularly useful for generating sequences or modifying values based on specific requirements.
number
parameter to set the base value you want to work with, ensuring it falls within the allowed range of 0 to 1,000,000.offset
parameter to control the increment amount, allowing for precise value adjustments in your workflow.None
, indicating that no valid mask was provided.mask_prior
, mask_alternative
, or mask_third
) is not None
.number
or offset
values are outside their allowed ranges.number
is between 0 and 1,000,000 and the offset
is within a reasonable range for your application. Adjust the values accordingly to fall within the specified limits.© Copyright 2024 RunComfy. All Rights Reserved.