Skip to main content

Module math

Module math 

Source
Expand description

Trigonometric and mathematical function nodes.

Standard math operations on f64 values. Use after unit_interval or scale_range to transform normalized values into waveforms, angles, or other mathematical shapes.

Structsยง

AbsF64
The abs_f64 node.
Acos
The acos node.
Asin
The asin node.
Atan
The atan node.
Atan2
Two-argument arc tangent: atan2(y, x).
Cos
The cos node.
Exp
The exp node.
F64Add
The f64_add node.
F64Div
The f64_div node.
F64Mod
The f64_mod node.
F64Mul
The f64_mul node.
F64Sub
The f64_sub node.
Ln
The ln node.
Pow
Power: base^exponent.
Sin
The sin node.
Sqrt
The sqrt node.
Tan
The tan node.