Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply dynamic jitter effects to images for motion and instability, enhancing visual storytelling with adjustable parameters for various effects.
The JitterEffect node is designed to apply dynamic jitter or shake effects to a sequence of images, creating a sense of motion or instability that can enhance the visual storytelling of your project. This effect is particularly useful for simulating camera shake, adding a vintage or cinematic feel, or simply introducing a dynamic element to otherwise static images. By manipulating parameters such as amplitude, rotation, and frame coherence, you can achieve a wide range of jitter effects, from subtle vibrations to dramatic shakes. The node processes each frame individually while maintaining a degree of coherence between frames, ensuring a smooth and visually appealing transition. This makes it an invaluable tool for artists looking to add a layer of complexity and realism to their animations or video projects.
This parameter accepts a batch of images in the form of a tensor. It serves as the primary input for the node, providing the visual data that will be processed to apply the jitter effect. The images should be pre-loaded and formatted correctly to ensure smooth operation.
The x_amplitude
parameter controls the horizontal displacement of the jitter effect. It determines the maximum number of pixels the image can shift horizontally. The default value is 3, with a range from 0 to 50, allowing for fine-tuning from subtle to more pronounced horizontal movements.
Similar to x_amplitude
, the y_amplitude
parameter manages the vertical displacement. It sets the maximum pixel shift vertically, with a default value of 3 and a range from 0 to 50. Adjusting this parameter can create a more dynamic vertical jitter effect.
This parameter specifies the maximum angle in degrees for rotating the image as part of the jitter effect. The default is 0.0 degrees, with a range from 0.0 to 5.0 degrees. Rotation can add a layer of complexity to the jitter, simulating a more realistic camera shake.
frame_coherence
controls the smoothness of the transition between frames by blending the current frame's jitter values with those of the previous frame. It ranges from 0.0 to 1.0, with a default of 0.5. A higher value results in smoother transitions, while a lower value increases randomness.
This parameter defines how the borders of the image are handled during the transformation. Options include "CONSTANT", "REPLICATE", and "REFLECT", with "REPLICATE" as the default. Each mode offers a different method for filling in the areas that are exposed by the jitter effect.
The seed
parameter initializes the random number generator, ensuring reproducibility of the jitter effect. It accepts an integer value from 0 to 2147483647, with a default of 0. By setting a specific seed, you can achieve consistent results across multiple runs.
The output is a batch of images with the jitter effect applied. This processed batch retains the original dimensions and format but now includes the dynamic jitter effect, enhancing the visual impact of the sequence. The output can be used directly in animations or further processed for additional effects.
x_amplitude
, y_amplitude
, and rotation_angle
to achieve the desired level of jitter. For subtle effects, keep these values low; for more dramatic effects, increase them.frame_coherence
to control the smoothness of the jitter effect. A higher coherence value will create a more fluid motion, while a lower value will result in a more erratic shake.border_mode
to see how different settings affect the edges of your images. "REPLICATE" is often a good choice for maintaining continuity, but "REFLECT" can add interesting visual effects.x_amplitude
, y_amplitude
, or rotation_angle
may be outside the allowed range.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.