ComfyUI > Nodes > DJZ-Nodes > Jitter Effect

ComfyUI Node: Jitter Effect

Class Name

JitterEffect

Category
image/effects
Author
DriftJohnson (Account age: 4052days)
Extension
DJZ-Nodes
Latest Updated
2025-04-25
Github Stars
0.04K

How to Install DJZ-Nodes

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

Run ComfyUI Online

Jitter Effect Description

Apply dynamic jitter effects to images for motion and instability, enhancing visual storytelling with adjustable parameters for various effects.

Jitter Effect:

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.

Jitter Effect Input Parameters:

images

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.

x_amplitude

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.

y_amplitude

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.

rotation_angle

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

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.

border_mode

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.

seed

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.

Jitter Effect Output Parameters:

IMAGE

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.

Jitter Effect Usage Tips:

  • Experiment with different combinations of 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.
  • Use 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.
  • Adjust the 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.

Jitter Effect Common Errors and Solutions:

Image format not supported

  • Explanation: The input images may not be in the correct format or tensor type required by the node.
  • Solution: Ensure that your images are pre-processed and converted into the appropriate tensor format before inputting them into the node.

Invalid amplitude or angle values

  • Explanation: The values for x_amplitude, y_amplitude, or rotation_angle may be outside the allowed range.
  • Solution: Double-check the input values to ensure they fall within the specified ranges. Adjust them accordingly to avoid errors.

Seed value out of range

  • Explanation: The seed value provided is not within the acceptable range of 0 to 2147483647.
  • Solution: Verify the seed value and ensure it is within the specified range to maintain reproducibility of the effect.

Jitter Effect Related Nodes

Go back to the extension to check out more related nodes.
DJZ-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.