Docs
Download

Math

Calculate with numbers and vectors.

The Math nodes (Add › Math) calculate with numbers and vectors: add two values, round a float, map a frame number to a percentage, get the distance between two points. Like the Data nodes, they're value nodes: they compute their result where it's used, and again for every input it's connected to.

Node
MathAdd, subtract, multiply, divide, power or modulo of two numbers
Round FloatRounds to a number of decimals: up, down or to the nearest
ClampLimits a value to a range
Map RangeMaps a value from one range to another
Convert AngleDegrees to radians and back
Random ValueA random float, integer, boolean, vector or color
Vector MathAdd, subtract, multiply, divide, cross and dot product, normalize, length and distance of vectors
Combine VectorA vector from X, Y, Z (and W)
Separate VectorThe X, Y, Z (and W) of a vector

Fixed numbers and vectors come from the Integer, Float and Vector nodes in Values. For anything these nodes don't cover, a Python Expression does it in one line: math.sqrt(value), max(a, b), abs(value).