Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate animated shapes moving across frames with various motion options and customizable attributes for dynamic visual elements.
The MovingShape node is designed to generate animated shapes that move across a sequence of frames, providing a dynamic visual element for your AI art projects. This node allows you to create shapes that can move linearly, ease in and out, bounce, or follow an elastic path. You can control the shape's size, color, starting and ending positions, and even add effects like growth and palindrome motion. This flexibility makes it a powerful tool for adding motion and visual interest to your creations.
This parameter defines the width of each frame in the animation. It determines the horizontal space available for the shape to move within. The value should be an integer representing the number of pixels.
This parameter defines the height of each frame in the animation. It determines the vertical space available for the shape to move within. The value should be an integer representing the number of pixels.
This parameter specifies the total number of frames in the animation. It controls the duration of the animation and how smooth the movement of the shape will be. The value should be an integer.
This parameter sets the color of the shape using an RGB string format. The color is defined by a string in the format "R,G,B", where R, G, and B are integers between 0 and 255 representing the red, green, and blue color components, respectively.
This parameter determines the type of shape to be generated. It can be a string specifying the shape type, such as "circle", "square", etc.
This parameter defines the width of the shape as a percentage of the frame width. It allows you to scale the shape relative to the frame size. The value should be a float between 0 and 100.
This parameter defines the height of the shape as a percentage of the frame height. It allows you to scale the shape relative to the frame size. The value should be a float between 0 and 100.
This parameter sets the starting horizontal position of the shape as a percentage of the frame width. The value can range from -100 to 100, where negative values position the shape outside the left edge, 0 centers it, and positive values position it towards the right edge.
This parameter sets the starting vertical position of the shape as a percentage of the frame height. The value can range from -100 to 100, where negative values position the shape outside the top edge, 0 centers it, and positive values position it towards the bottom edge.
This parameter sets the ending horizontal position of the shape as a percentage of the frame width. The value can range from -100 to 100, where negative values position the shape outside the left edge, 0 centers it, and positive values position it towards the right edge.
This parameter sets the ending vertical position of the shape as a percentage of the frame height. The value can range from -100 to 100, where negative values position the shape outside the top edge, 0 centers it, and positive values position it towards the bottom edge.
This parameter specifies the type of movement for the shape. It can be "linear", "ease_in_out", "bounce", or "elastic", each providing a different motion effect.
This boolean parameter determines whether the shape should grow in size during the animation. If set to True, the shape will increase in size as it moves.
This boolean parameter specifies whether the animation should play forward and then reverse, creating a palindrome effect. If set to True, the shape will move to the end position and then return to the start position.
This parameter sets the number of frames to delay the start of the animation. It allows you to introduce a pause before the shape begins to move. The value should be an integer.
This output parameter provides the generated sequence of frames as a list of images. Each image represents a frame in the animation, showing the shape at its respective position and size.
movement_type
settings to achieve various motion effects, such as smooth transitions with "ease_in_out" or dynamic bounces with "bounce".grow
parameter to add a sense of depth and progression to your animations by making the shape increase in size as it moves.delay
parameter to synchronize the start of the shape's movement with other elements in your animation, creating a more cohesive visual experience.rgb
parameter is not in the correct "R,G,B" format.rgb
parameter is a string in the format "R,G,B", where R, G, and B are integers between 0 and 255.shape
parameter contains an invalid shape type.shape
parameter is set to a valid shape type, such as "circle" or "square".frame_width
or frame_height
parameter is not a positive integer.frame_width
and frame_height
are positive integers representing the number of pixels.num_frames
parameter is not a positive integer.num_frames
parameter to a positive integer to define the duration of the animation.© Copyright 2024 RunComfy. All Rights Reserved.