🎥 Lissajous Camera Shake (V1):
The DNode_CameraShakeLissajous is a specialized node designed to simulate realistic camera shake effects using the Lissajous curve algorithm. This node is particularly beneficial for creating smooth and rhythmic camera movements that mimic the natural drift of a handheld camera. By superimposing multiple low-frequency sine waves, it ensures that the camera motion remains centered around the absolute middle of the frame, effectively eliminating the frame deviation issues commonly associated with traditional noise-based camera shakes. This node is ideal for AI artists looking to add dynamic and lifelike motion to their visual projects without the complexity of manual animation.
🎥 Lissajous Camera Shake (V1) Input Parameters:
images
This parameter accepts the input images that you want to apply the camera shake effect to. The images should be in a format that the node can process, typically as a tensor with dimensions representing batch size, height, width, and channels.
intensity
The intensity parameter controls the severity of the camera shake effect. It ranges from 0.0 to 5.0, with a default value of 0.40, which is considered the optimal balance for simulating a handheld camera. Increasing the intensity will result in more pronounced camera movements, while decreasing it will produce subtler effects.
zoom_factor
This parameter is used to prevent clipping at the edges of the frame during the camera shake. It ranges from 1.0 to 2.0, with a default value of 1.05, which provides a safe margin to ensure that the edges of the image remain within the frame during motion.
fps
The frames per second (fps) parameter is crucial for calculating the correct physical motion cycle of the camera shake. It ranges from 1.0 to 120.0, with a default value of 30.0. Adjusting the fps will affect the speed and smoothness of the camera movement.
seed
The seed parameter determines the initial state of the frequency superposition, allowing for reproducible results. It is an integer value ranging from 0 to 0xffffffff, with a default value of 42. Changing the seed will result in different camera shake patterns.
🎥 Lissajous Camera Shake (V1) Output Parameters:
IMAGE
This output provides the processed images with the applied camera shake effect. The images are returned in a format suitable for further processing or display, typically as a tensor with dimensions representing batch size, height, width, and channels.
trajectory_json
This output is a JSON string that contains the trajectory data of the camera shake. It provides detailed information about the movement path, which can be useful for analysis or debugging purposes.
🎥 Lissajous Camera Shake (V1) Usage Tips:
- To achieve a natural handheld camera effect, start with the default intensity of 0.40 and adjust based on your specific needs.
- Use the zoom_factor to ensure that the edges of your images do not clip during the camera shake, especially if you are applying high-intensity movements.
- Experiment with different seed values to generate unique camera shake patterns for each project.
🎥 Lissajous Camera Shake (V1) Common Errors and Solutions:
"Invalid image format"
- Explanation: The input images are not in the expected format or dimensions.
- Solution: Ensure that the images are provided as a tensor with the correct dimensions (batch size, height, width, channels).
"Intensity value out of range"
- Explanation: The intensity parameter is set outside the allowed range of 0.0 to 5.0.
- Solution: Adjust the intensity value to be within the specified range.
"Zoom factor too low"
- Explanation: The zoom_factor is set below the minimum value of 1.0, which can cause clipping.
- Solution: Increase the zoom_factor to at least 1.0 to prevent image clipping during motion.
