Visit ComfyUI Online for ready-to-use ComfyUI environment
Automate sequential cycling of text strings in animations for dynamic visual content creation.
The CR Cycle Text node is designed to sequentially cycle through a list of text strings over a series of frames in an animation. This node is particularly useful for creating dynamic text effects in animations, where different text strings need to be displayed at specific intervals. By specifying a list of text strings and configuring the cycling parameters, you can control how and when each text string appears during the animation. This node supports both simple and complex text lists, allowing for flexible and customizable text cycling. The primary goal of this node is to automate the process of changing text in animations, making it easier to create engaging and dynamic visual content.
The mode parameter determines the cycling method used for the text strings. The available option is "Sequential", which cycles through the text strings in the order they are provided. This parameter controls how the text strings are selected and displayed during the animation.
The frame_interval parameter specifies the number of frames between each text change. This parameter controls the speed of the text cycling, with a lower value resulting in faster changes and a higher value resulting in slower changes. The default value is typically set to 1, but it can be adjusted based on the desired animation speed.
The loops parameter defines the number of times the entire text list should be repeated during the animation. This parameter allows you to control the overall duration of the text cycling effect. The default value is 1, but it can be increased to create longer animations with repeated text sequences.
The current_frame parameter indicates the current frame number in the animation. This parameter is used to calculate which text string should be displayed at any given frame. It is typically provided by the animation system and is essential for synchronizing the text changes with the animation timeline.
These parameters allow you to specify up to five individual text strings to be included in the text list. Each parameter represents a separate text string, and they are combined to form the complete list of text strings to be cycled through. If a parameter is left empty, it will be ignored.
The text_list_simple parameter allows you to provide a pre-defined list of text strings in a simple format. This parameter can be used as an alternative to specifying individual text strings through the text_1 to text_5 parameters. If provided, the text_list_simple will be combined with the individual text strings to form the complete text list.
The STRING output parameter provides the current text string to be displayed based on the cycling logic. This parameter is updated at each frame according to the specified cycling parameters, ensuring that the correct text string is shown at the right time in the animation.
The show_text output parameter provides a URL to the help documentation for the CR Cycle Text node. This URL directs you to a detailed guide on how to use the node, including examples and additional information. It is a useful resource for understanding the full capabilities of the node and troubleshooting any issues.
© Copyright 2024 RunComfy. All Rights Reserved.