Visit ComfyUI Online for ready-to-use ComfyUI environment
Create smooth, oscillating camera pan effect with sine wave motion for dynamic video scenes.
The Sine Camera Pan [DVB] node is designed to create a smooth, oscillating camera pan effect in your video frames, mimicking the natural motion of a sine wave. This node is particularly useful for adding dynamic movement to static scenes or enhancing the visual interest of your video content. By leveraging the mathematical properties of sine waves, it ensures a fluid and continuous motion that can be customized in terms of direction, speed, and phase. This node is ideal for AI artists looking to introduce a rhythmic and loopable pan effect to their animations or video sequences, providing a professional touch with minimal effort.
This parameter accepts a set of video frames that you want to apply the sine camera pan effect to. It is the primary input and determines the content that will be processed by the node.
This integer parameter specifies the width of the output frames. The default value is 512, with a minimum value of 1. Adjusting this parameter will change the horizontal resolution of the output video.
This integer parameter specifies the height of the output frames. The default value is 512, with a minimum value of 1. Adjusting this parameter will change the vertical resolution of the output video.
This float parameter determines the horizontal direction of the pan. A positive value moves the camera to the right, while a negative value moves it to the left. The default value is 1.0.
This float parameter determines the vertical direction of the pan. A positive value moves the camera downwards, while a negative value moves it upwards. The default value is -1.0.
This float parameter defines the period of the sine wave in seconds, which controls the speed of the oscillation. The default value is 1.0, with a minimum value of 0.1 and adjustable in steps of 0.1. A shorter period results in faster oscillation.
This float parameter sets the phase shift of the sine wave in seconds, allowing you to offset the start of the oscillation. The default value is 0.0. Adjusting this parameter can help synchronize the pan effect with other elements in your video.
This parameter offers two options: "edge to edge" and "edge to center". "Edge to edge" mode pans the camera from one edge of the frame to the opposite edge, while "edge to center" mode pans from the edge towards the center. This setting affects the motion path of the camera pan.
The output parameter is a set of video frames that have been processed with the sine camera pan effect. These frames will exhibit the smooth, oscillating motion defined by the input parameters, providing a dynamic and visually appealing result.
© Copyright 2024 RunComfy. All Rights Reserved.