Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
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.
Goodrect Expression Solver
