Class

Shader

Output

RGB

 

synopsis

Perform various trigonometric functions on input. The frequency and phase parameters make the most sense for the sine, cosine and tangent functions, but are available on all functions for orthogonality. The units parameter lets you choose between radians and degrees for the argument of sine, cosine, and tangent and for the result of the inverse functions. It has no effect on the hyperbolic functions.

FunctionFormulaUnits AffectsOutput Range
Cosinecos(input × frequency + phase)

 

argument

[-1, 1]
Sinesin(input × frequency + phase)[-1, 1]
Tangenttan(input × frequency + phase)[-∞, ∞]
Arccosinearccos(input × frequency + phase)

 

result

[0, π] or [0°, 180°]
Arcsinearcsin(input × frequency + phase)[-π/2, π/2] or [-90°, 90°]
Arctangentarctan(input × frequency + phase)[-π/2, π/2] or [-90°, 90°]
Hyperbolic Cosinecosh(input × frequency + phase)

 

(nothing)

[1, ∞]
Hyperbolic Sinesinh(input × frequency + phase)[-∞, ∞]
Hyperbolic Tangenttanh(input × frequency + phase)[-1, 1]
 


input

...

function

...

units

...

frequency

...

phase

...

  • No labels
© 2020-2021 Autodesk. All Rights Reserved / website terms / privacy/cookies / ccpa settings