Visit ComfyUI Online for ready-to-use ComfyUI environment
Animate values over frames for dynamic visual effects, smooth transitions, gradual changes, and debugging in AI art projects.
The ValueSchedule
node is designed to help you animate values over a specified number of frames, making it an essential tool for creating dynamic and evolving visual effects in your AI art projects. By defining key frames and interpolating values between them, this node allows you to smoothly transition between different states or parameters over time. This can be particularly useful for generating animations or for any scenario where you need a value to change gradually rather than abruptly. The node also offers the option to print the current frame's value, which can be helpful for debugging and fine-tuning your animations.
This parameter accepts a string input where you can define key frames and their corresponding values. The string should be formatted in a way that the node can parse and interpolate between these key frames. The text
parameter supports multiline input, allowing you to specify complex animations. The default value is an empty string.
This parameter sets the total number of frames over which the animation will occur. It determines the length of the animation and how the values will be interpolated over time. The minimum value is 1, the maximum value is 999999, and the default value is 120.0.
This parameter specifies the current frame for which the value should be calculated. It allows you to control the exact point in the animation timeline. The minimum value is 0, the maximum value is 999999, and the default value is 0.0. This parameter is required and must be provided as an input.
This boolean parameter determines whether the current frame's value should be printed to the console. It can be useful for debugging and understanding how the values are changing over time. The default value is False.
This output provides the interpolated value for the current frame as a floating-point number. It represents the smooth transition between key frames based on the specified animation.
This output provides the interpolated value for the current frame as an integer. It is essentially the same value as the FLOAT output but converted to an integer for scenarios where a whole number is required.
text
parameter and ensure they are spaced appropriately for the desired effect.max_frames
parameter to control the duration of your animation. A higher number of frames will result in a slower, more gradual transition.print_output
parameter to debug and fine-tune your animations by observing the values at specific frames.text
parameter contains key frames that are not formatted correctly.current_frame
parameter is set to a value that exceeds the max_frames
parameter.current_frame
value to be within the range of 0 to max_frames - 1
.current_frame
parameter is not provided, but it is required for the node to function.current_frame
parameter when using the node.© Copyright 2024 RunComfy. All Rights Reserved.