This extension creates a dialogue that makes it simple to create long chains of math nodes in shaders, geo nodes, the compositor, and texture nodes.
In the text box that appears, type in a mathematical expression that you want to evaluate.
For example, sin(x + 64) % (y ** 14 + 10).
Accept the dialogue and a node tree will be generated with math nodes.
Mathematical operators you would expect to work are supported, including:
- Addition, Subtraction, Multiplication, Division, Power: + - * / **
- Less Than, Greater Than: < >
- Modulo: %
And all other mathematical functions in the Math node is supported.
Math Functions
- Logarithm: log(x[, base])
- Square Root: sqrt(x)
- Abs: abs(x)
- Exponential: exp(x)
- Min: min(x, y)
- Max: max(x, y)
- Compare: cmp(x, y, z)
- Smooth Min: smin(x, y, z)
- Smooth Max: smax(x, y, z)
- Round: round(x)
- Floor: floor(x)
- Ceil: ceil(x)
- Truncate: trunc(x) or int(x)
- Fraction: frac(x)
- Floored Modulo: fmod(x, y)
- Wrap: wrap(x, y, z)
- Snap: snap(x, y)
- Ping-Pong: pingpong(x, y)
- Sin: sin(x)
- Cos: cos(x)
- Tan: tan(x)
- Arcsine: asin(x)
- Arccosine: acos(x)
- Arctangent: atan(x)
- Arctan2: atan2(x)
- Hyperbolic Sine: sinh(x)
- Hyperbolic Cosine: cosh(x)
- Hyperbolic Tangent: tanh(x)
- To Radians: rad(degx)
- To Degrees: deg(radx)
To install the node-quick-maths extension, you must have Blender 4.2+ and have enabled Extensions. Go to https://extensions.blender.org/add-ons/node-quick-maths/ and drag it into blender.
This addon is licensed under the GNU General Public License v3.0. See the LICENSE
file for more details.