Tan
The tangent of an angle in radians.
Node id math/tan
The Tan node outputs the tangent of value, an angle in radians: the sine
divided by the cosine, or the slope of a line at that angle.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| value | number | 0 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | number |
Behaviour
- Radians. Multiply an angle in degrees by PI and divide it by 180 first.
- Very large near a quarter turn. At π/2 (and every half turn from
there) the tangent has no finite value. Because π can't be stored
exactly, the result there is a huge number rather than
Infinity. - Invalid math. The tangent of
Infinitygives NaN, with no error.