m Fix DegToRad node name |
Added a Further Reading section and a video. |
||
(3 intermediate revisions by one other user not shown) | |||
Line 14: | Line 14: | ||
The '''Sin''' node returns the [https://en.wikipedia.org/wiki/Sine_and_cosine| Sine] of the input value. | The '''Sin''' node returns the [https://en.wikipedia.org/wiki/Sine_and_cosine| Sine] of the input value. | ||
{{Template:Note|Input values are treated as [https://en.wikipedia.org/wiki/Radian radians]. If you want to use values in degrees, first multiply by the [[ProtoFlux: | {{Template:Note|Input values are treated as [https://en.wikipedia.org/wiki/Radian radians]. If you want to use values in degrees, first multiply by the [[ProtoFlux:Deg_2_Rad | Deg 2 Rad]] node.|suggestion}} | ||
This node has the following variants: | This node has the following variants: | ||
Line 21: | Line 21: | ||
! Variant !! Node Type | ! Variant !! Node Type | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Color|Color]]) || <code>Sin_Color</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:ColorX|ColorX]]) || <code>Sin_ColorX</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Double|double]]) || <code>Sin_Double</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Double2|double2]]) || <code>Sin_Double2</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Double3|double3]]) || <code>Sin_Double3</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Double4|double4]]) || <code>Sin_Double4</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Float|float]]) || <code>Sin_Float</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Float2|float2]]) || <code>Sin_Float2</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Float3|float3]]) || <code>Sin_Float3</code> | ||
|- | |- | ||
|Sin ([[ | |Sin ([[Type:Float4|float4]]) || <code>Sin_Float4</code> | ||
|} | |} | ||
== Inputs == | == Inputs == | ||
=== N (Pseudo-Generic) === | === N (Pseudo-Generic) === | ||
Line 51: | Line 50: | ||
== Outputs == | == Outputs == | ||
=== | === * (Pseudo-Generic) === | ||
Sine of N. | Sine of N. | ||
== Further Reading == | |||
=== Videos === | |||
<youtube>OfuyQV4SN9c</youtube> | |||
[[Category:ProtoFlux:Math:Trigonometry]] | [[Category:ProtoFlux:Math:Trigonometry]] |
Latest revision as of 20:17, 1 July 2024
Sin
Trigonometry
The Sin node returns the Sine of the input value.
This node has the following variants:
Variants
Variant | Node Type |
---|---|
Sin (Color) | Sin_Color
|
Sin (ColorX) | Sin_ColorX
|
Sin (double) | Sin_Double
|
Sin (double2) | Sin_Double2
|
Sin (double3) | Sin_Double3
|
Sin (double4) | Sin_Double4
|
Sin (float) | Sin_Float
|
Sin (float2) | Sin_Float2
|
Sin (float3) | Sin_Float3
|
Sin (float4) | Sin_Float4
|
Inputs
N (Pseudo-Generic)
Input value.
Outputs
* (Pseudo-Generic)
Sine of N.