ComfyUI  >  Nodes  >  ComfyUI-Keyframed >  KfSinusoidalAdjustPhase

ComfyUI Node: KfSinusoidalAdjustPhase

Class Name

KfSinusoidalAdjustPhase

Category
keyframed/sinusoidal
Author
dmarx (Account age: 4505 days)
Extension
ComfyUI-Keyframed
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install ComfyUI-Keyframed

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

KfSinusoidalAdjustPhase Description

Adjust phase of sinusoidal curve for precise waveform control in animations and procedural content.

KfSinusoidalAdjustPhase:

The KfSinusoidalAdjustPhase node is designed to modify the phase of a given sinusoidal curve. This adjustment allows you to shift the curve horizontally, effectively changing the starting point of the wave cycle. By altering the phase, you can control the timing and alignment of the sinusoidal wave, which is particularly useful in animations and procedural content generation where precise control over waveforms is required. This node is essential for fine-tuning the behavior of sinusoidal curves to achieve the desired visual or functional effects in your projects.

KfSinusoidalAdjustPhase Input Parameters:

curve

The curve parameter expects a sinusoidal curve input (SINUSOIDAL_CURVE). This is the curve that will be adjusted. The input must be a valid sinusoidal curve object, which contains properties such as wavelength, phase, and amplitude. This parameter is required and must be provided for the node to function.

adjustment

The adjustment parameter is a float value that specifies the amount by which the phase of the curve should be adjusted. The default value is 0.0, and the step size is approximately 0.1308996939 (which is π/24). This parameter allows you to incrementally shift the phase of the curve, providing fine control over the horizontal displacement of the wave. Adjusting this value will directly impact the starting point of the sinusoidal cycle.

KfSinusoidalAdjustPhase Output Parameters:

KEYFRAMED_CURVE

The KEYFRAMED_CURVE output is the modified sinusoidal curve with the adjusted phase. This output can be used in subsequent nodes or processes that require a keyframed curve input. It retains all the properties of the original curve but with the phase shifted according to the specified adjustment.

SINUSOIDAL_CURVE

The SINUSOIDAL_CURVE output is the same as the KEYFRAMED_CURVE output, providing the adjusted sinusoidal curve. This output ensures compatibility with nodes or processes that specifically require a sinusoidal curve input. It allows for seamless integration into workflows that manipulate sinusoidal waveforms.

KfSinusoidalAdjustPhase Usage Tips:

  • To achieve a smooth transition in animations, use small increments for the adjustment parameter to gradually shift the phase.
  • Combine this node with other sinusoidal adjustment nodes to create complex waveforms and dynamic effects.
  • Use the KEYFRAMED_CURVE output for keyframing purposes in animation timelines, ensuring precise control over the wave's behavior.

KfSinusoidalAdjustPhase Common Errors and Solutions:

Invalid curve input

  • Explanation: The curve parameter must be a valid sinusoidal curve object.
  • Solution: Ensure that the input provided to the curve parameter is a properly defined sinusoidal curve.

Adjustment value out of range

  • Explanation: The adjustment parameter should be a float value within a reasonable range to avoid unexpected behavior.
  • Solution: Verify that the adjustment value is within a logical range and adjust it incrementally to achieve the desired phase shift.

KfSinusoidalAdjustPhase Related Nodes

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