ComfyUI Node: Int Sequence 🕒🅡🅣🅝

Class Name

IntSequence

Category
real-time/control/sequence
Author
RyanOnTheInside (Account age: 3947days)
Extension
Nodes for use with real-time applications of ComfyUI
Latest Updated
2025-03-04
Github Stars
0.02K

How to Install Nodes for use with real-time applications of ComfyUI

Install this extension via the ComfyUI Manager by searching for Nodes for use with real-time applications of ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Nodes for use with real-time applications of ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Int Sequence 🕒🅡🅣🅝 Description

Cycle through predefined integer sequence for dynamic parameter control in AI art projects, with forward, reverse, pingpong, and random modes.

Int Sequence 🕒🅡🅣🅝:

The IntSequence node is designed to cycle through a predefined sequence of integer values, providing a dynamic and automated way to iterate over numbers in real-time. This node is particularly useful for scenarios where you need to control or animate parameters that require integer inputs, such as frame numbers, step counts, or any other integer-based control in your AI art projects. By leveraging this node, you can automate the process of changing integer values over time, allowing for more complex and varied outputs without manual intervention. The node operates by taking a list of integers and cycling through them according to a specified sequence mode, which can be forward, reverse, pingpong, or random. This flexibility makes it a powerful tool for creating dynamic and responsive art pieces.

Int Sequence 🕒🅡🅣🅝 Input Parameters:

values

This parameter accepts a string of comma-separated integer values that define the sequence through which the node will cycle. The default value is "0, 5, 10", and it serves as the list of integers that the node will iterate over. The values you provide here will directly impact the output of the node, as they determine the sequence of integers that will be cycled through.

steps_per_item

This integer parameter specifies the number of frames or steps for which each integer value in the sequence should be displayed before moving to the next. It has a default value of 30, with a minimum of 1 and a maximum of 1000. Adjusting this parameter allows you to control the speed at which the sequence progresses, with higher values resulting in slower transitions between integers.

sequence_mode

This parameter determines the order in which the sequence of integers is cycled through. It offers four options: "forward", "reverse", "pingpong", and "random", with "forward" being the default. The choice of sequence mode affects how the node navigates through the list of integers, providing different patterns of iteration that can be used to achieve various artistic effects.

always_execute

A boolean parameter that, when set to True, ensures the node executes its update function on every frame or step, regardless of changes in input. This is useful for maintaining consistent behavior in dynamic environments where inputs might frequently change.

Int Sequence 🕒🅡🅣🅝 Output Parameters:

INT

The output of the IntSequence node is an integer value, which represents the current item in the sequence based on the specified cycling mode and step count. This output is crucial for driving other nodes or parameters that require integer inputs, allowing for synchronized and automated control over various aspects of your AI art project.

Int Sequence 🕒🅡🅣🅝 Usage Tips:

  • To create smooth transitions between integer values, adjust the steps_per_item parameter to a higher value, which will slow down the cycling and provide a more gradual change.
  • Experiment with different sequence_mode settings to achieve unique patterns and effects in your artwork, such as using "pingpong" for a back-and-forth motion or "random" for unpredictable variations.

Int Sequence 🕒🅡🅣🅝 Common Errors and Solutions:

Invalid integer value in values

  • Explanation: This error occurs when the values parameter contains non-integer or improperly formatted entries.
  • Solution: Ensure that all entries in the values string are valid integers and are separated by commas without any extra spaces or characters.

steps_per_item out of range

  • Explanation: This error happens when the steps_per_item parameter is set below 1 or above 1000.
  • Solution: Adjust the steps_per_item value to be within the allowed range of 1 to 1000 to ensure proper execution.

Unsupported sequence_mode

  • Explanation: This error arises if an invalid option is provided for the sequence_mode parameter.
  • Solution: Verify that the sequence_mode is set to one of the supported options: "forward", "reverse", "pingpong", or "random".

Int Sequence 🕒🅡🅣🅝 Related Nodes

Go back to the extension to check out more related nodes.
Nodes for use with real-time applications of ComfyUI
RunComfy
Copyright 2025 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.