Category:ProtoFlux:Math

Category page
Subcategories
Category Summary
Constants Mathematical constants that can be used in expressions and functions
Easing Different mathematical curves
Geometry2D Helper math functions for 2D geometry
Geometry3D Helper math functions for 3D geometry
Interpolation Lerp over time or value
Physics Mathematical physics, not to be confused with the Force/Collision Physics Category
Quantity For working with temperature, weight, force units
Random For generating random values
Rects Bounding Rectangles for working with 2D spaces, deals with the Rect type.
Rotation Making one point look at another and Euler Angles
Shaping Math functions to make a curve using steps
Spherical Harmonics Mainly used for lighting and audio calculations
Trigonometry Sine, Cosine, Tangent, and many things Trig Based
Vectors More advanced vector math calculations.
Nodes
Node Name Description
Avg Average 2 values
AvgMulti Average multiple Values
Ceil Round up to the next whole number. (ex: 0.001->1)
CeilToInt Ceil but outputs an int.
Clamp01 Stops a number at the ends of a 0<->1 range.
Delta Tells you change in value (frame dependent)
Exp e^x or e^n where x or n is your input value.
Factorial Returns a multiplied number value of the provided factorial.
Floor Round down to the next whole number. (ex: .999->0)
FloortoInt Floor but outputs an int.
GreatestCommonDivisor Finds the biggest number all values can be divided by without a decimal for any of them.
IsBetween Checks if a value is inside a range.
LeastCommonMultiple Finds the smallest number between input A and B which can be multiplied by without a decimal
Log Takes the number to find (N) with the base of e, and returns the exponent.
Log10 Takes the number to find (N) with the base of 10, and returns the exponent.
LogN Takes the number to find (N) and takes the base to multiply with, and returns the exponent.
NthRoot Can take Sqrt, CubicRoot, to infinity more roots.
PingPong Makes an infinitely increasing value bounce back and forth within the range.
Pow Value inputted to the power of anything.
Remap Remaps a value range to another range.
Remap1101 Remaps a value range from (1 <-> -1) to (0 <-> 1)
Repeat01 Makes an infinitely increasing value wrap around a 0 <-> 1 value range
Round rounds a decimal to the closest whole number
RoundToInt Round but outputs an int.
Sigmoid Remaps a value between 0 and 1, based on the sigmoid curve
Sign Tells you if a number is positive, negative, or zero with -1, 1, or 0.
Sqrt A faster version of plugging 2 for N in Nth Root.
ValueAbs Gets the distance of a value from 0 (gets rid of negative sign)
ValueClamp Stops a number at the ends of the specified range.
ValueMax Gets the biggest number of 2 inputs
ValueMaxMulti Gets the biggest number of all the inputs
ValueMin Gets the smallest number of 2 inputs
ValueMinMulti Gets the smallest number of all the inputs
ValueRepeat Makes an infinitely increasing value wrap around the specified value range