Trigonometry Nodes
Trigonometric functions including sine, cosine, tangent, and their inverse operations.
Trigonometric functions including sine, cosine, tangent, and their inverse operations.
This category contains 26 nodes.
Nodes
Arccosine
Finds the angle whose cosine equals the input. Reverses what Cosine does.
Inputs: Value between -1 and 1.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | ±1 | 0 |
Outputs: Angle in radians.
| Name | Type | Range |
|---|---|---|
| Number | Number | rad |
Arccosine Vector
Finds the angle whose cosine matches each component. Reverse of Cosine Vector.
Inputs: 3D vector (each -1 to 1).
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with angles.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Arcsine
Finds the angle whose sine equals the input. Reverses what Sine does.
Inputs: Value between -1 and 1.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | ±1 | 0 |
Outputs: Angle in radians.
| Name | Type | Range |
|---|---|---|
| Number | Number | rad |
Arcsine Vector
Finds the angle whose sine matches each component. Reverse of Sine Vector.
Inputs: 3D vector (each -1 to 1).
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with angles.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Arctangent
Finds the angle whose tangent equals the input. Reverses what Tangent does.
Inputs: Any number.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | ±1 | 0 |
Outputs: Angle in radians.
| Name | Type | Range |
|---|---|---|
| Number | Number | rad |
Arctangent 2
Finds the angle to a point from the origin. Useful for converting X/Y position to rotation angle.
Inputs: Y and X coordinates.
| Name | Type | Range | Default |
|---|---|---|---|
| Y | Number | ±1 | 0 |
| X | Number | ±1 | 1 |
Outputs: Angle in radians.
| Name | Type | Range |
|---|---|---|
| Number | Number | rad |
Arctangent 2 Vector
Finds angles from Y/X coordinate pairs for each axis. Converts positions to rotations.
Inputs: Y and X vectors.
| Name | Type | Range | Default |
|---|---|---|---|
| Y | Vector | vec | [0, 0, 0] |
| X | Vector | vec | [1, 1, 1] |
Outputs: Vector with angles.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Arctangent Vector
Finds the angle whose tangent matches each component. Reverse of Tangent Vector.
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with angles.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Cosine
Creates a smooth wave from an angle in RADIANS, shifted a quarter cycle from Sin so it starts at 1 instead of 0. To drive a wave from beat or bar progress without the tau multiply, use Oscillate with a phase offset of 0.25.
Inputs: Angle in radians.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | rad | 0 |
Outputs: Value between -1 and 1.
| Name | Type | Range |
|---|---|---|
| Number | Number | ±1 |
Cosine Vector
Applies cosine wave to each component separately. Like Sine Vector but phase-shifted.
Inputs: 3D vector with angles.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with wave values (-1 to 1 each).
| Name | Type | Range |
|---|---|---|
| Vector | Vector | ±1 |
Hyperbolic Cosine
Creates a catenary (hanging chain) curve shape. Always 1 or greater.
Inputs: Any number.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
Outputs: Result (always 1 or greater).
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Hyperbolic Cosine Vector
Applies hyperbolic cosine to each component. Creates catenary curves.
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with curved values (all 1 or greater).
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Hyperbolic Sine
S-shaped curve that grows exponentially. Useful for asymmetric easing.
Inputs: Any number.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
Outputs: Result (unbounded, grows rapidly).
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Hyperbolic Sine Vector
Applies hyperbolic sine to each component. S-shaped curves that grow exponentially.
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with curved values.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Hyperbolic Tangent
Smooth S-curve that squashes any value into the -1 to 1 range. Great for soft limiting.
Inputs: Any number.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
Outputs: Value between -1 and 1.
| Name | Type | Range |
|---|---|---|
| Number | Number | ±1 |
Hyperbolic Tangent Vector
Squashes each component into the -1 to 1 range. Smooth S-curve limiting.
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with limited values (-1 to 1 each).
| Name | Type | Range |
|---|---|---|
| Vector | Vector | ±1 |
Inverse Hyperbolic Cosine
Reverse of hyperbolic cosine. Takes values 1 or greater and returns a compressed result.
Inputs: Value 1 or greater.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 1 |
Outputs: Compressed result (always positive).
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Inverse Hyperbolic Cosine Vector
Reverse of hyperbolic cosine for each axis. Values must be 1 or greater.
Inputs: 3D vector (values 1 or greater).
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [1, 1, 1] |
Outputs: Vector with reversed hyperbolic cosine values.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Inverse Hyperbolic Sine
Reverse of hyperbolic sine. Compresses large values while keeping small values linear.
Inputs: Any number.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
Outputs: Compressed result.
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Inverse Hyperbolic Sine Vector
Reverse of hyperbolic sine for each axis. Useful for decompressing expanded values.
Inputs: 3D vector.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with reversed hyperbolic sine values.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Inverse Hyperbolic Tangent
Reverse of hyperbolic tangent. Expands values near -1 and 1 to extreme ranges.
Inputs: Value between -1 and 1.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | any | 0 |
Outputs: Expanded result (can be very large).
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Inverse Hyperbolic Tangent Vector
Reverse of hyperbolic tangent for each axis. Expands values from the -1 to 1 range.
Inputs: 3D vector (values between -1 and 1).
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with expanded values.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Sine
Creates a smooth wave from an angle in RADIANS: one full cycle is 6.283. To drive a wave from beat or bar progress without the tau multiply, use Oscillate, which takes its phase in turns.
Inputs: Angle in radians.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | rad | 0 |
Outputs: Value between -1 and 1.
| Name | Type | Range |
|---|---|---|
| Number | Number | ±1 |
Sine Vector
Applies sine wave to each component separately. Useful for multi-axis oscillations.
Inputs: 3D vector with angles.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with wave values (-1 to 1 each).
| Name | Type | Range |
|---|---|---|
| Vector | Vector | ±1 |
Tangent
Ratio of sine to cosine. Creates values that spike to infinity at certain angles.
Inputs: Angle in radians.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Number | rad | 0 |
Outputs: Tangent value (can be very large).
| Name | Type | Range |
|---|---|---|
| Number | Number | ±1 |
Tangent Vector
Applies tangent to each component. Values spike at certain angles.
Inputs: 3D vector with angles.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with tangent values.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |