Publisher | Sina C |
---|---|
File size | 175.70kB |
Number of files | 21 |
Latest version | 1 |
Latest release date | 2020-04-06 05:17:37 |
First release date | 2020-04-23 11:28:12 |
Supported Unity versions | 2018.4.2 or higher |
GR Expression Solver is a lightweight, mathematical expression solver package.
With it, you can easily instantiate, animate or transform objects based on complex mathematical expressions.
By using its simple notation, you can include builtin Mathf library functions and arbitrary number of variables, as well as other GR Expression Solver objects to nest expressions within expressions.
Apart from your usual parenthesis nesting, addition, subtraction, multiplication, division, power of and modulus operations, it can interpret the following functions from the Mathf library:
Abs, Acos, Asin, Atan, Atan2, Ceil, CeilToInt, Clamp, Clamp01, ClosestPowerOfTwo, Cos, DeltaAngle, Exp, Floor, FloorToInt, InverseLerp, Lerp, LerpAngle, LerpUnclamped, Log, Log10, Max, Min, NextPowerOfTwo, perlinNoise", Pow, Random, Random01, Round, RoundToInt, Sign, Sin, Sqrt, Tan, ToDeg, ToRad
In addition to the functions above, it can also interpret Random, Random01, Map, GreaterThan, LessThan, Equal, Ltoeq, Gtoeq functions, which are detailed in the documentation at https://rect.dev/grexpsolver.