Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate customizable integer sequences for AI art projects with start/end points, step size, repetitions, and ping-pong direction.
The CR Integer Range List node is designed to generate a list of integers based on specified parameters, making it a versatile tool for creating sequences of numbers in your AI art projects. This node allows you to define the start and end points of the range, the step size between each number, the number of times the range should be repeated, and whether the sequence should alternate direction (ping-pong). This functionality is particularly useful for creating patterns, animations, or any scenario where a series of integer values is required. By leveraging this node, you can automate the generation of complex integer sequences, saving time and ensuring consistency in your work.
The start
parameter defines the beginning value of the integer range. It determines the first number in the sequence. The minimum value for this parameter is -99999, the maximum is 99999, and the default value is 0. Adjusting this value will shift the entire range accordingly.
The end
parameter specifies the ending value of the integer range. It sets the upper limit for the sequence, but this value is not included in the range. The minimum value for this parameter is -99999, the maximum is 99999, and the default value is 0. Changing this value will extend or shorten the range.
The step
parameter determines the interval between each number in the range. It controls the increment size from the start value to the end value. The minimum value for this parameter is 1, the maximum is 99999, and the default value is 1. A larger step value will result in fewer numbers in the range, while a smaller step value will produce a denser sequence.
The loops
parameter indicates how many times the entire range should be repeated. This allows for the creation of extended sequences by duplicating the defined range multiple times. The minimum value for this parameter is 1, the maximum is 999, and the default value is 1. Increasing this value will generate a longer list with repeated patterns.
The ping_pong
parameter is a boolean option that, when enabled, causes the range to alternate direction on each repetition. This means that every second iteration of the range will be reversed, creating a back-and-forth pattern. The default value for this parameter is False. Enabling this option can add variety and complexity to the generated sequence.
The INT
output parameter provides the generated list of integers based on the specified input parameters. This list can be used directly in your projects to create patterns, animations, or any other application requiring a sequence of numbers. The output is a comprehensive list that reflects the start, end, step, loops, and ping_pong settings.
The show_help
output parameter returns a URL to the documentation page for the CR Integer Range List node. This link directs you to additional information and examples on how to use the node effectively. It is a helpful resource for understanding the node's capabilities and troubleshooting any issues.
start
and end
parameters to your desired range and leave the step
parameter at its default value of 1.loops
parameter to repeat the sequence multiple times, which is useful for creating extended patterns or animations.ping_pong
option to add variety to your sequence by alternating the direction of the range on each repetition.start
, end
, or step
parameters are not set correctly.start
, end
, and step
to ensure they are within the desired range and correctly configured.loops
parameter may be set too low or too high.loops
parameter to increase or decrease the number of repetitions of the range.ping_pong
parameter might be set to False.ping_pong
parameter is set to True if you want the range to alternate direction on each repetition.© Copyright 2024 RunComfy. All Rights Reserved.