Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust phase of sinusoidal curve for precise waveform control in animations and procedural content.
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.
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.
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.
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.
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.
adjustment
parameter to gradually shift the phase.KEYFRAMED_CURVE
output for keyframing purposes in animation timelines, ensuring precise control over the wave's behavior.curve
parameter must be a valid sinusoidal curve object.curve
parameter is a properly defined sinusoidal curve.adjustment
parameter should be a float value within a reasonable range to avoid unexpected behavior.adjustment
value is within a logical range and adjust it incrementally to achieve the desired phase shift.© Copyright 2024 RunComfy. All Rights Reserved.