ProtoFlux:Tan: Difference between revisions

From Resonite Wiki
Create page and add basic information
 
Added a Further Reading section and a video.
 
(3 intermediate revisions by one other user not shown)
Line 14: Line 14:
The '''Tan''' node returns the [https://en.wikipedia.org/wiki/Trigonometric_functions#tangent| Tangent] of the input value.
The '''Tan''' node returns the [https://en.wikipedia.org/wiki/Trigonometric_functions#tangent| Tangent] 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:DegToRad | DegToRad]] 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: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
|-
|-
|Tan ([[Types:Color|Color]]) || <code>Tan_Color</code>
|Tan ([[Type:Color|Color]]) || <code>Tan_Color</code>
|-
|-
|Tan ([[Types:ColorX|ColorX]]) || <code>Tan_ColorX</code>
|Tan ([[Type:ColorX|ColorX]]) || <code>Tan_ColorX</code>
|-
|-
|Tan ([[Types:Double|double]]) || <code>Tan_Double</code>
|Tan ([[Type:Double|double]]) || <code>Tan_Double</code>
|-
|-
|Tan ([[Types:Double2|double2]]) || <code>Tan_Double2</code>
|Tan ([[Type:Double2|double2]]) || <code>Tan_Double2</code>
|-
|-
|Tan ([[Types:Double3|double3]]) || <code>Tan_Double3</code>
|Tan ([[Type:Double3|double3]]) || <code>Tan_Double3</code>
|-
|-
|Tan ([[Types:Double4|double4]]) || <code>Tan_Double4</code>
|Tan ([[Type:Double4|double4]]) || <code>Tan_Double4</code>
|-
|-
|Tan ([[Types:Float|float]]) || <code>Tan_Float</code>
|Tan ([[Type:Float|float]]) || <code>Tan_Float</code>
|-
|-
|Tan ([[Types:Float2|float2]]) || <code>Tan_Float2</code>
|Tan ([[Type:Float2|float2]]) || <code>Tan_Float2</code>
|-
|-
|Tan ([[Types:Float3|float3]]) || <code>Tan_Float3</code>
|Tan ([[Type:Float3|float3]]) || <code>Tan_Float3</code>
|-
|-
|Tan ([[Types:Float4|float4]]) || <code>Tan_Float4</code>
|Tan ([[Type:Float4|float4]]) || <code>Tan_Float4</code>
|}
|}


== Inputs ==
== Inputs ==


=== N (Pseudo-Generic) ===
=== N (Pseudo-Generic) ===
Line 51: Line 50:
== Outputs ==
== Outputs ==


=== Output (* Pseudo-Generic) ===
=== * (Pseudo-Generic) ===


Tangent of N.
Tangent of N.
== Further Reading ==
=== Videos ===
<youtube>b5uZsUJnasA</youtube>


[[Category:ProtoFlux:Math:Trigonometry]]
[[Category:ProtoFlux:Math:Trigonometry]]

Latest revision as of 20:20, 1 July 2024

Tan
N
*
Trigonometry

The Tan node returns the Tangent of the input value.

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

This node has the following variants:

Variants

Variant Node Type
Tan (Color) Tan_Color
Tan (ColorX) Tan_ColorX
Tan (double) Tan_Double
Tan (double2) Tan_Double2
Tan (double3) Tan_Double3
Tan (double4) Tan_Double4
Tan (float) Tan_Float
Tan (float2) Tan_Float2
Tan (float3) Tan_Float3
Tan (float4) Tan_Float4

Inputs

N (Pseudo-Generic)

Input value.

Outputs

* (Pseudo-Generic)

Tangent of N.

Further Reading

Videos