ComfyUI Node
cos
Calculates the cosine of an angle in radians or degrees. This node takes an angle value and unit type, and returns the cosine of that angle. The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse in a right-angled triangle.
cos
- angle
- FLOAT
◄unitdegrees►
CategoryBasic/maths
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| angle | FLOAT,INT | 0 | — |
| unit | COMBO | degrees | 2 options: radians, degrees |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |