ProtoFlux:Sin: Difference between revisions

From Resonite Wiki
Create page and add basic information
 
m Fix DegToRad node name
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:Deg_To_Rad | Deg_To_Rad]] node.|suggestion}}
{{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:DegToRad | DegToRad]] node.|suggestion}}


This node has the following variants:
This node has the following variants:

Revision as of 09:27, 25 May 2024

Sin
N
*
Trigonometry

The Sin node returns the Sine of the input value.

Input values are treated as radians. If you want to use values in degrees, first multiply by the DegToRad node.

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

Output (* Pseudo-Generic)

Sine of N.