Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate smooth transitions and gradients with precise control over floating-point number sequences using start, stop, and step values.
The Range(Step)
The start
parameter specifies the initial value of the range. It determines where the sequence of numbers will begin. This parameter accepts floating-point numbers, with a default value of 0. The minimum and maximum values are -4096 and 4096, respectively. Adjusting the start value allows you to shift the entire range to begin at a different point, which can be useful for aligning the sequence with specific requirements in your project.
The stop
parameter defines the endpoint of the range. It indicates the value at which the sequence will terminate. Like the start parameter, it accepts floating-point numbers, with a default value of 0, and has a range from -4096 to 4096. The stop value is crucial for determining the length and coverage of the range, allowing you to control how far the sequence extends.
The step
parameter determines the increment between each number in the sequence. It is a floating-point number that specifies how much each subsequent number in the range will increase or decrease from the previous one. The default value is 0, with a range from -4096 to 4096. By adjusting the step size, you can control the granularity of the sequence, making it finer or coarser depending on your needs.
The end_mode
parameter specifies whether the stop value is included in the range. It offers two options: "Inclusive" and "Exclusive," with "Inclusive" as the default. This parameter allows you to decide if the sequence should include the stop value as the last element, providing flexibility in how the range is constructed and used.
The range
output is a list of floating-point numbers generated based on the specified start, stop, and step values. This sequence represents the main output of the node, providing a series of numbers that can be used for various purposes in your project. The range is constructed with high precision, ensuring that the values are accurate and suitable for detailed applications.
The range_sizes
output is a list of integers that indicates the number of elements in each generated range. This output provides insight into the size of each sequence, allowing you to understand the extent of the range and how many values it contains. It is useful for verifying that the range meets your expectations and for debugging purposes.
<value>
, stop=<value>
, num_steps=<value>
.allow_uneven_steps
parameter is set to "False."allow_uneven_steps
to "True" if uneven steps are acceptable.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.