Category:ProtoFlux:Math: Difference between revisions

Category page
Correction, these are curves, not shape creation/calculation (the naming was bad...)
Added a (red) link to the new section in the math category for the new set of nodes.
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
|Shaping| Math functions to make a curve using steps
|Shaping| Math functions to make a curve using steps
|Trigonometry| Sine, Cosine, Tangent, and many things Trig Based
|Trigonometry| Sine, Cosine, Tangent, and many things Trig Based
|Vectors| More advanced vector math calculations.
}}
}}


Line 21: Line 22:
|Delta|| Tells you change in value (frame dependent)
|Delta|| Tells you change in value (frame dependent)
|Exp|| e^x or e^n where x or n is your input value.
|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)
|Floor|| Round down to the next whole number. (ex: .999->0)
|Floor to Int|| Floor but outputs an int.
|Floor to Int|| Floor but outputs an int.

Latest revision as of 11:54, 11 September 2024

Subcategories
Category Summary
Constants Mathematical constants that can be used in expressions and functions
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
Trigonometry Sine, Cosine, Tangent, and many things Trig Based
Vectors More advanced vector math calculations.
Nodes
Node Name Description
Avg Average 2 values
Avg Multi Average multiple Values
Ceil Round up to the next whole number. (ex: 0.001->1)
Ceil To Int Ceil but outputs an int.
Clamp 01 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)
Floor to Int Floor but outputs an int.
Greatest Common Divisor Finds the biggest number all values can be divided by without a decimal for any of them.
Is Between Checks if a value is inside a range.
Least Common Multiple 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.
Log 10 Takes the number to find (N) with the base of 10, and returns the exponent.
Log N Takes the number to find (N) and takes the base to multiply with, and returns the exponent.
Nth Root Can take Sqrt, CubicRoot, to infinity more roots.
Ping Pong 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.
Remap 11 01 Remaps a value range from (1 <-> -1) to (0 <-> 1)
Repeat 01 Makes an infinitely increasing value wrap around a 0 <-> 1 value range
Round rounds a decimal to the closest whole number
Round To Int 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.
Value Abs Gets the distance of a value from 0 (gets rid of negative sign)
Value Clamp Stops a number at the ends of the specified range.
Value Max Gets the biggest number of 2 inputs
Value Max Multi Gets the biggest number of all the inputs
Value Min Gets the smallest number of 2 inputs
Value Min Multi Gets the smallest number of all the inputs
Value Repeat Makes an infinitely increasing value wrap around the specified value range