Cosine
Last updated
Last updated
The Cosine node calculates the cosine of an angle value (in radians). It's particularly useful for creating oscillating patterns, circular movements, and wave effects in design.
Value
The angle in radians
Number
No
Value
The cosine of the input angle
Number
Drag the Cosine node into your graph.
Connect a number to the "Value" input (e.g., 3.15) or use the default (0).
The output will be the cosine of the input angle, which ranges from -1 to 1.
Use this value for creating cyclic patterns and oscillations.
The output always ranges between -1 and 1.
Use multiples of π (3.14159...) for common angles: 0 gives 1, π/2 gives 0, π gives -1.
Circular Motion: Create circular or elliptical movements in animations.
Wave Patterns: Generate smooth wave patterns for transitions or visual effects.
Color Cycling: Create natural color oscillations by driving color components with cosine values.
: For calculating the sine function (phase-shifted cosine).
: For calculating the tangent function.