Math nodes

nodes for both simple and complex math for number values and point values.


Add math.add

adds number/point values together.


Divide math.divide

divides a number/point value from another.


Modulo math.modulo

wraps a number/point value between zero and the other value.


Multiply math.multiply

multiplies number/point values together.


Negate math.negate

negates a number/point value.


Remainder math.remainder

divides a number/point value from another and returns the remainder.


Subtract math.subtract

subtracts a number/point value from another.


Absolute math.abs

ensures a number/point value is always positive, by negating it if necessary.


Average math.average

takes the average number/point value between the inputs and outputs it.


Clamp math.clamp

limits a number/point value between a minimum and a maximum.


Min/Max math.minmax

takes the minimum/maximum number/point value between the inputs and outputs it.


Mix Weights math.mixWeights

takes the number/point values and sums them according to their accompanying weights.


Remap math.remap

remaps a number/point value from a range to another.

this node essentially combines Unlerp and Lerp into one.


Round math.round

rounds a number/point value to an integer.


Transform math.transform

transforms a number/point value.


Exponential math.exp

returns the exponential of a number/point value, base ๐‘’.


Logarithm math.log

returns the logarithm of a number/point value, base ๐‘’.


Square Root math.sqrt

returns the square root of a number/point value.


Trigonometry math.trigonometry

performs sine/cosine/tangent calculations, as well as their respective inverses.


Expression math.expression

lets the user write their own mathematical expression, which is then parsed using the numerical/point inputs.

this can help simplify node graphs with lots of math nodes, as long as youโ€™re comfortable writing algebra by hand.