Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate smooth sinusoidal curves with precise control over wavelength, phase, and amplitude for AI art projects.
The KfSinusoidalWithWavelength
node is designed to generate a sinusoidal curve based on specified parameters, making it a powerful tool for creating smooth, periodic variations in your AI art projects. This node allows you to define the wavelength, phase, and amplitude of the sinusoidal curve, providing you with precise control over the shape and behavior of the curve. By adjusting these parameters, you can create a wide range of effects, from gentle waves to more pronounced oscillations, enhancing the dynamic quality of your artwork. The primary goal of this node is to offer a flexible and intuitive way to incorporate sinusoidal patterns into your creative process, enabling you to achieve visually appealing and mathematically consistent results.
The wavelength
parameter defines the distance between successive peaks of the sinusoidal curve. It is a floating-point value with a default of 12, and it can be adjusted in steps of 0.5. By modifying the wavelength, you can control the frequency of the oscillations; a larger wavelength results in fewer oscillations over a given distance, while a smaller wavelength increases the number of oscillations. This parameter is crucial for determining the overall smoothness and periodicity of the curve.
The phase
parameter specifies the initial angle of the sinusoidal curve at the start of the cycle. It is a floating-point value with a default of 0.0 and can be adjusted in steps of approximately 0.1309 (π/24). The phase shift allows you to offset the curve horizontally, effectively changing the starting point of the oscillations. This can be useful for aligning the curve with other elements in your artwork or for creating more complex wave patterns.
The amplitude
parameter controls the height of the peaks and the depth of the troughs of the sinusoidal curve. It is a floating-point value with a default of 1 and can be adjusted in steps of 0.01. By increasing the amplitude, you can make the oscillations more pronounced, while decreasing it will result in a flatter curve. This parameter is essential for defining the intensity and visual impact of the sinusoidal pattern in your artwork.
The KEYFRAMED_CURVE
output is a representation of the sinusoidal curve that can be used in keyframing applications. This output allows you to animate the curve over time, providing dynamic visual effects in your AI art projects. The keyframed curve retains all the properties defined by the input parameters, ensuring consistency in the animation.
The SINUSOIDAL_CURVE
output is the raw sinusoidal curve generated based on the specified wavelength, phase, and amplitude. This output can be used directly in your artwork to create smooth, periodic patterns. It serves as a foundational element that can be further manipulated or combined with other curves to achieve more complex visual effects.
wavelength
values to see how the frequency of the oscillations affects your artwork. Smaller values create more frequent oscillations, while larger values result in smoother, more gradual waves.phase
parameter to align the sinusoidal curve with other elements in your composition. This can help create harmonious and visually appealing patterns.amplitude
to control the intensity of the oscillations. Higher amplitudes create more dramatic effects, while lower amplitudes result in subtler variations.wavelength
parameter must be a positive floating-point number.wavelength
value is greater than zero and within a reasonable range for your project.phase
parameter must be a floating-point number within the valid range.phase
value is correctly specified and falls within the expected range (typically between 0 and 2π).amplitude
parameter must be a non-negative floating-point number.amplitude
value is zero or positive and adjust it accordingly to achieve the desired effect.© Copyright 2024 RunComfy. All Rights Reserved.