Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate inverted cosine wave for AI art projects, offering control over shape, position, and animation effects.
The InvCosWave node is designed to generate an inverted cosine wave based on the provided parameters. This node is particularly useful for creating smooth, periodic variations in your AI art projects, allowing you to manipulate waveforms to achieve desired visual effects. By adjusting the phase, amplitude, translations, and current frame, you can control the shape and position of the wave, making it a versatile tool for dynamic and animated content creation. The main goal of this node is to provide a mathematical function that outputs a wave pattern, which can be used to influence various aspects of your artwork, such as color, position, or intensity.
The phase
parameter controls the period of the wave, determining how many frames it takes for the wave to complete one full cycle. A higher phase value results in a longer wave period, while a lower value shortens the period. The default value is 1.0, with a minimum of 0.0 and a maximum of 9999.0, adjustable in steps of 1.0.
The amplitude
parameter sets the height of the wave, affecting the maximum deviation from the wave's central axis. A higher amplitude results in a taller wave, while a lower amplitude produces a shorter wave. The default value is 0.5, with a minimum of 0.0 and a maximum of 9999.0, adjustable in steps of 0.1.
The x_translation
parameter shifts the wave horizontally along the x-axis. This translation allows you to move the wave left or right, effectively changing the starting point of the wave. The default value is 0.0, with a minimum of 0.0 and a maximum of 9999.0, adjustable in steps of 1.0.
The y_translation
parameter shifts the wave vertically along the y-axis. This translation allows you to move the wave up or down, effectively changing the baseline of the wave. The default value is 0.5, with a minimum of 0.0 and a maximum of 9999.0, adjustable in steps of 0.05.
The current_frame
parameter specifies the current frame of the animation, determining the position of the wave at a given point in time. This parameter is essential for creating animated effects, as it allows the wave to evolve over time. The default value is 1.0, with a minimum of 0.0 and a maximum of 9999.0, adjustable in steps of 1.0.
The FLOAT
output represents the calculated value of the inverted cosine wave at the specified frame, taking into account the phase, amplitude, translations, and current frame. This value can be used to influence various aspects of your artwork, such as color intensity or positional adjustments.
The INT
output is the integer representation of the FLOAT
output, providing a rounded value of the wave calculation. This can be useful for scenarios where an integer value is required, such as indexing or discrete adjustments.
phase
and amplitude
values to create unique wave patterns that suit your artistic vision.x_translation
and y_translation
to fine-tune the position of the wave, ensuring it aligns perfectly with your design elements.current_frame
parameter to create dynamic, evolving wave effects that add motion and interest to your artwork.© Copyright 2024 RunComfy. All Rights Reserved.