Visit ComfyUI Online for ready-to-use ComfyUI environment
Generates integer sequences with defined start, stop, step; inclusive/exclusive endpoint control for precise numerical pattern automation.
The Range(Step)
The start
parameter defines the initial value of the range. It determines where the sequence of numbers will begin. The value can range from -4096 to 4096, with a default of 0. This parameter is crucial as it sets the starting point for the sequence, influencing the entire range of numbers generated.
The stop
parameter specifies the endpoint of the range. It determines where the sequence of numbers will end. Similar to the start
parameter, it can range from -4096 to 4096, with a default of 0. The stop
value is significant as it defines the upper limit of the sequence, affecting the total number of values generated.
The step
parameter indicates the interval between consecutive numbers in the sequence. It defines how much each number in the sequence will increase or decrease from the previous one. The step value can also range from -4096 to 4096, with a default of 0. This parameter is essential for controlling the spacing between numbers in the sequence, allowing for customized patterns.
The end_mode
parameter determines whether the stop
value is included in the range. It offers two options: "Inclusive" or "Exclusive," with "Inclusive" as the default. This parameter is important for deciding if the sequence should include the endpoint, providing flexibility in how the range is constructed.
The range
output is a list of integers generated based on the specified start
, stop
, and step
parameters. This list represents the sequence of numbers created by the node, which can be used in various applications that require numerical data.
The range_sizes
output provides the size of each range generated. It indicates the number of elements in each sequence, which is useful for understanding the scope and scale of the generated data.
step
parameter is not set to zero, as this would result in an infinite loop or an empty range.end_mode
parameter to control whether the stop
value is included in the range, which can be useful for different scenarios where the endpoint's inclusion is necessary.{e_start}
, stop={e_stop}
, num_steps={e_num_steps}
.allow_uneven_steps
parameter is set to "False."start
, stop
, or num_steps
values to ensure an even step size or set allow_uneven_steps
to "True" to permit uneven steps.allow_uneven_steps
parameter, which only supports a single value.allow_uneven_steps
parameter is set to a single value, either "True" or "False."© Copyright 2024 RunComfy. All Rights Reserved.
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.