ComfyUI > Nodes > SaltAI_AudioViz > Parallax Motion Parameter Schedule Generator

ComfyUI Node: Parallax Motion Parameter Schedule Generator

Class Name

SaltParallaxMotion

Category
SALT/AudioViz/Scheduling/Parallax Motion
Author
SaltAI (Account age: 146days)
Extension
SaltAI_AudioViz
Latest Updated
2024-06-29
Github Stars
0.01K

How to Install SaltAI_AudioViz

Install this extension via the ComfyUI Manager by searching for SaltAI_AudioViz
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SaltAI_AudioViz 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

Parallax Motion Parameter Schedule Generator Description

Generate parallax motion schedules for dynamic 2D depth illusion using Perlin noise and versatile movement modes.

Parallax Motion Parameter Schedule Generator:

SaltParallaxMotion is a node designed to generate parameter schedules for parallax motion, which is a technique used to create an illusion of depth in a 2D scene by moving different layers at different speeds. This node is particularly useful for AI artists looking to add dynamic and realistic motion to their visual projects. By leveraging Perlin noise and various movement modes, SaltParallaxMotion allows for the creation of smooth and organic motion patterns. The node is capable of handling complex motion paths, including orbit, side-to-side, up-and-down, and diagonal movements, making it a versatile tool for enhancing the visual appeal of animations and video sequences.

Parallax Motion Parameter Schedule Generator Input Parameters:

perlin_noise

This parameter represents the Perlin noise generator used to create smooth, natural variations in the motion. Perlin noise is a type of gradient noise often used in computer graphics to create textures and effects that appear more organic. The Perlin noise generator is initialized with a seed value to ensure reproducibility of the motion patterns.

movement_tremor_scale

This parameter controls the scale of the tremor effect applied to the motion. Tremor adds a subtle, jittery movement to the primary motion path, making it appear more lifelike. The scale determines the intensity of this effect. A higher value results in more pronounced tremors, while a lower value produces a smoother motion. Typical values range from 0.1 to 10, with a default value of 1.

frame_number

This parameter indicates the current frame number in the animation sequence. It is used to calculate the position of the motion path at any given point in time. The frame number is essential for synchronizing the motion with the animation timeline.

tremor_octaves

This parameter specifies the number of octaves used in the Perlin noise function for the tremor effect. More octaves result in more detailed noise patterns, adding complexity to the tremor. The value typically ranges from 1 to 8, with a default of 4.

tremor_persistence

This parameter controls the persistence of the Perlin noise, which affects the amplitude of each octave. Higher persistence values result in more sustained noise patterns, while lower values produce more transient effects. The value usually ranges from 0.1 to 1, with a default of 0.5.

tremor_lacunarity

This parameter determines the frequency of the Perlin noise octaves. Higher lacunarity values increase the frequency, resulting in more rapid changes in the noise pattern. The value typically ranges from 1 to 4, with a default of 2.

movement_mode

This parameter selects the type of motion path to be generated. Available options include 'orbit', 'side-to-side', 'up-and-down', 'diagonal_bottom_left', and 'diagonal_top_right'. Each mode defines a unique motion pattern, allowing for a wide range of animation effects.

angle_increment

This parameter defines the angle increment for the motion path, measured in degrees. It determines the speed and direction of the motion. A higher angle increment results in faster motion, while a lower increment produces slower movement. The value typically ranges from 0 to 360 degrees.

amplitude

This parameter controls the amplitude of the motion path, determining the extent of the movement. Higher amplitude values result in larger motion paths, while lower values produce more subtle movements. The value usually ranges from 0.1 to 100, with a default of 10.

Parallax Motion Parameter Schedule Generator Output Parameters:

motion_path

This output parameter provides the calculated motion path based on the input parameters. The motion path is a series of coordinates that define the position of the object at each frame in the animation sequence. It is used to animate the object along the specified path, creating the desired parallax motion effect.

Parallax Motion Parameter Schedule Generator Usage Tips:

  • Experiment with different movement modes to find the one that best suits your animation needs.
  • Adjust the tremor scale to add subtle variations to the motion, making it appear more natural.
  • Use higher octaves and persistence values for more complex and detailed motion patterns.
  • Fine-tune the angle increment and amplitude to control the speed and extent of the motion.

Parallax Motion Parameter Schedule Generator Common Errors and Solutions:

"Zoom factor must be greater than 0."

  • Explanation: This error occurs when the zoom factor is set to a value less than or equal to zero.
  • Solution: Ensure that the zoom factor is set to a positive value greater than zero.

"Zoom start frame must be less than zoom end frame."

  • Explanation: This error occurs when the zoom start frame is set to a value greater than or equal to the zoom end frame.
  • Solution: Adjust the zoom start frame to be less than the zoom end frame.

"Displacement start frame must be less than displacement end frame."

  • Explanation: This error occurs when the displacement start frame is set to a value greater than or equal to the displacement end frame.
  • Solution: Adjust the displacement start frame to be less than the displacement end frame.

Parallax Motion Parameter Schedule Generator Related Nodes

Go back to the extension to check out more related nodes.
SaltAI_AudioViz
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.