An open API service indexing awesome lists of open source software.

https://github.com/zeptofine/node-quick-maths

A Blender add-on to compose long math node chains
https://github.com/zeptofine/node-quick-maths

Last synced: about 2 months ago
JSON representation

A Blender add-on to compose long math node chains

Awesome Lists containing this project

README

        

# Node Quick Maths

![banner image]()

## Overview
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.

## Usage

### Default Keyboard Shortcut - Ctrl + M

In the text box that appears, type in a mathematical expression that you want to evaluate.

For example, sin(x + 64) % (y ** 14 + 10).

![compose dialogue demo]()

Accept the dialogue and a node tree will be generated with math nodes.

![compose result demo]()

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)
### Comparison
- 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)
### Rounding
- 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)
### Trig
- 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)
### Conversion
- To Radians: rad(degx)
- To Degrees: deg(radx)

# Installation:

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.

## License

This addon is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html). See the `LICENSE` file for more details.