Category:ProtoFlux:Math: Difference between revisions

Category page
m fix page link
Added missing link to a missing node page.
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Table ProtoFluxCategorySubcategories
{{Table ProtoFluxCategorySubcategories
|Constants|
|Constants| Mathematical constants that can be used in expressions and functions
|Geometry2D|
|Geometry2D| Helper math functions for 2D geometry
|Geometry3D|
|Geometry3D| Helper math functions for 3D geometry
|Interpolation|
|Interpolation| Lerp over time or value
|Physics|
|Physics| Mathematical physics, not to be confused with the [[:Category:ProtoFlux:Physics|Force/Collision Physics Category]]
|Quantity| For working with temperature, weight, force units
|Quantity| For working with temperature, weight, force units
|Random| For generating random values
|Random| For generating random values
|Rects| Bounding Rectangles for working with 2D spaces.
|Rects| Bounding Rectangles for working with 2D spaces, deals with the [[Type:Rect|Rect]] type.
|Rotation| Making one point look at another and Euler Angles.
|Rotation| Making one point look at another and Euler Angles
|Shaping|
|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
}}
}}


Line 21: Line 21:
|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.
|Greatest Common Divisor|| Finds the biggest number all values can be divided by without a decimal for any of them.
|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.
|Is Between|| Checks if a value is inside a range.
|Least Common Multiple||
|Least Common Multiple|| Finds the smallest number between input A and B which can be multiplied by without a decimal
|Log ||
|Log || Takes the number to find (N) with the base of [[ProtoFlux:E|e]], and returns the exponent.
|Log 10||
|Log 10|| Takes the number to find (N) with the base of 10, and returns the exponent.
|Log N||
|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.
|Nth Root|| Can take Sqrt, CubicRoot, to infinity more roots.
|Ping Pong|| Makes an infinitely increasing value bounce back and forth within the range.
|Ping Pong|| Makes an infinitely increasing value bounce back and forth within the range.
Line 37: Line 38:
|Round|| rounds a decimal to the closest whole number
|Round|| rounds a decimal to the closest whole number
|Round To Int|| Round but outputs an int.
|Round To Int|| Round but outputs an int.
|Sigmoid||  
|Sigmoid|| Remaps a value between 0 and 1, based on the [https://en.wikipedia.org/wiki/Sigmoid_function sigmoid curve]
|Sign|| Tells you if a number is positive, negative, or zero with -1, 1, or 0.
|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.
|Sqrt|| A faster version of plugging 2 for N in Nth Root.

Revision as of 06:37, 27 July 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
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