Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate symmetrical triangle waveforms for artistic and graphical applications with customizable parameters for dynamic effects.
The TriangleWave node is designed to generate a triangle wave pattern, which is a type of non-sinusoidal waveform that is particularly useful in various artistic and graphical applications. This node allows you to create smooth, linear waveforms that rise and fall in a symmetrical manner, making it ideal for creating repetitive, oscillating patterns. The TriangleWave node is highly customizable, enabling you to adjust parameters such as phase, amplitude, and translations to fit your specific needs. By manipulating these parameters, you can control the frequency, height, and position of the wave, providing you with a versatile tool for generating dynamic and visually appealing effects.
The phase
parameter controls the period of the triangle wave, which is the length of one complete cycle of the wave. A higher phase value results in a longer period, meaning the wave oscillates more slowly. Conversely, a lower phase value results in a shorter period, causing the wave to oscillate more quickly. The minimum value is 0.0, the maximum value is 9999.0, and the default value is 1.0.
The amplitude
parameter determines the height of the triangle wave, which is the distance from the centerline to the peak of the wave. A higher amplitude value results in a taller wave, while a lower amplitude value results in a shorter wave. The minimum value is 0.0, the maximum value is 9999.0, and the default value is 0.5.
The x_translation
parameter shifts the triangle wave horizontally along the x-axis. This allows you to move the wave left or right without altering its shape. The minimum value is 0.0, the maximum value is 9999.0, and the default value is 0.0.
The y_translation
parameter shifts the triangle wave vertically along the y-axis. This allows you to move the wave up or down without changing its shape. The minimum value is 0.0, the maximum value is 9999.0, and the default value is 0.5.
The current_frame
parameter specifies the current frame or time step at which the wave is being evaluated. This parameter is essential for animating the wave over time, as it determines the position of the wave at each frame. The minimum value is 0.0, the maximum value is 9999.0, and the default value is 1.0.
The FLOAT
output represents the calculated value of the triangle wave at the specified current_frame
. This value is a floating-point number that indicates the height of the wave at that particular point in time.
The INT
output is the integer representation of the FLOAT
output. This value is useful for applications that require discrete or rounded values rather than continuous floating-point numbers.
phase
parameter to a higher value.amplitude
parameter to control the height of the wave, making it more or less pronounced.x_translation
and y_translation
parameters to position the wave precisely within your project.current_frame
parameter over time to create dynamic, moving wave patterns.phase
parameter must be a positive number greater than 0.0.phase
value is set to a number within the valid range (0.0 to 9999.0).amplitude
parameter must be a non-negative number.amplitude
value is within the valid range (0.0 to 9999.0).x_translation
and y_translation
parameters must be non-negative numbers.x_translation
and y_translation
values are within the valid range (0.0 to 9999.0).current_frame
parameter must be a non-negative integer.current_frame
value is set to an integer within the valid range (0.0 to 9999.0).© Copyright 2024 RunComfy. All Rights Reserved.