ComfyUI > Nodes > ComfyUI-Mana-Nodes > ⏰ Scheduled Values

ComfyUI Node: ⏰ Scheduled Values

Class Name

Scheduled Values

Category
💠 Mana Nodes/📅 Value Scheduling
Author
ForeignGods (Account age: 1241days)
Extension
ComfyUI-Mana-Nodes
Latest Updated
2024-05-29
Github Stars
0.18K

How to Install ComfyUI-Mana-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Mana-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Mana-Nodes 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

⏰ Scheduled Values Description

Facilitates scheduling values for smooth transitions in animations with easing functions and reset modes.

⏰ Scheduled Values:

The Scheduled Values node is designed to facilitate the scheduling of values over a specified number of frames, making it particularly useful for creating animations or time-based changes in your AI art projects. This node allows you to define a range of values and how they should transition over time using various easing functions. By leveraging this node, you can create smooth and dynamic transitions, enhancing the visual appeal and complexity of your animations. The node also supports different modes for resetting animations, providing flexibility in how animations loop or restart.

⏰ Scheduled Values Input Parameters:

frame_count

This parameter specifies the total number of frames over which the values will be scheduled. It determines the duration of the animation. The default value is 30, and it can be adjusted in steps of 1. This parameter is crucial as it directly impacts the length and smoothness of the transition.

value_range

This parameter defines the range of values that will be scheduled over the specified frames. The default value is 15, and it can be adjusted in steps of 1. This range determines the extent of the change in values throughout the animation.

easing_type

This dropdown parameter allows you to select the type of easing function to be used for the transition. Easing functions control the acceleration and deceleration of the value changes. Available options include "linear", "easeInQuad", "easeOutQuad", "easeInOutQuad", "easeInCubic", "easeOutCubic", "easeInOutCubic", "easeInQuart", "easeOutQuart", "easeInOutQuart", "easeInQuint", "easeOutQuint", "easeInOutQuint", and "exponential". The default is "linear".

step_mode

This dropdown parameter determines how the steps are handled during the scheduling. Options include "single" and "auto", with "single" being the default. This setting affects the granularity and behavior of the value changes.

animation_reset

This dropdown parameter specifies how the animation should reset. Options include "word", "line", "never", "looped", and "pingpong", with "word" as the default. This setting is important for defining the behavior of the animation at the end of the frame sequence.

id

This parameter is an identifier for the scheduled values. It is an integer with a default value of 0 and can be adjusted in steps of 1. This ID can be used to reference or manage multiple scheduled values within a project.

scheduled_values

This text parameter is a string that holds the scheduled values. It is read-only and has a default value of "[]". This parameter is used internally to store the computed values and their transitions.

⏰ Scheduled Values Output Parameters:

scheduled_values

This output parameter returns the scheduled values as a string. It includes the computed values over the specified frames along with the animation reset setting. This output is essential for applying the scheduled values to your animations or other time-based changes in your project.

⏰ Scheduled Values Usage Tips:

  • To create smooth animations, choose an appropriate easing function that matches the desired effect, such as "easeInOutQuad" for a smooth start and end.
  • Use the "looped" animation reset option for continuous animations that need to repeat seamlessly.
  • Adjust the frame_count and value_range parameters to fine-tune the duration and extent of your animations, ensuring they fit well within your project's timeline.

⏰ Scheduled Values Common Errors and Solutions:

ValueError: "scheduled_values is required and cannot be an empty list."

  • Explanation: This error occurs when the scheduled_values parameter is empty or not properly defined.
  • Solution: Ensure that the scheduled_values parameter is correctly set and not left as an empty list. Verify that the input values are properly configured before running the node.

⏰ Scheduled Values Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Mana-Nodes
RunComfy

© 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.