Math nodes shape numeric values into timing curves, masks and movement patterns.
This page lists 28 nodes.
Add
add
Adds two numbers.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Subtract
subtract
Subtracts B from A.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Multiply
multiply
Multiplies two numbers.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Safe Divide
divide
Divides A by B with zero protection.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Minimum
minimum
Returns the smaller number.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Maximum
maximum
Returns the larger number.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Power
power
Raises A to the power of B using safe bounds.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Modulo
modulo
Returns the safe remainder of A divided by B.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 0 |
Outputs
Absolute
absolute
Returns the positive magnitude.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Negate
negate
Reverses the sign.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Floor
floor
Rounds downward.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Ceil
ceil
Rounds upward.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Fraction
fraction
Returns the fractional part.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Round
round
Rounds to the nearest whole number.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Sign
sign
Returns -1, 0 or 1.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Square Root
square-root
Returns a protected square root.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Exponential
exponential
Returns e raised to the input using safe bounds.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Logarithm
logarithm
Returns a protected natural logarithm.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Sine
sine
Returns the sine of the input.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Cosine
cosine
Returns the cosine of the input.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Triangle Wave
triangle-wave
Converts the input into a repeating triangle wave.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Ping Pong
ping-pong
Moves repeatedly between zero and one.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Clamp
clamp
Restricts a number between minimum and maximum.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
minimum | float | Yes | 0 |
maximum | float | Yes | 1 |
Outputs
Saturate
saturate
Clamps a number between zero and one.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
Outputs
Step
step
Returns zero below the edge and one above it.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
edge | float | Yes | 0.5 |
value | float | Yes | 0 |
Outputs
Smooth Step
smooth-step
Smoothly transitions between two edges.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
edge-a | float | Yes | 0 |
edge-b | float | Yes | 1 |
value | float | Yes | 0 |
Outputs
Mix Number
mix-number
Blends between two numbers.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | float | Yes | 0 |
b | float | Yes | 1 |
amount | float | Yes | 0.5 |
Outputs
Remap
remap
Maps a value from one range into another.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
value | float | Yes | 0 |
input-min | float | Yes | 0 |
input-max | float | Yes | 1 |
output-min | float | Yes | 0 |
output-max | float | Yes | 1 |
Outputs