Sin
The sine of an angle in radians.
Node id math/sin
The Sin node outputs the sine of value, an angle in radians: the vertical
position of a point on a unit circle at that angle. It goes from -1 to 1,
and back, once per full turn (2π).
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.
- Waves. Sin of an increasing number gives a smooth wave: multiply the input to make the wave shorter, and the result to make it taller.
- Invalid math. The sine of
Infinitygives NaN, with no error.
Related nodes
- Cos: the horizontal position on the same circle.
- Tan: sine divided by cosine.
- Vector From Angle: both at once, as a vector.