Mathematical Operations

Arithmetic nodes - addition, subtraction, multiplication, division, power, and modulo.

Ask AI about this page
ChatGPT

Addition

The Addition node accepts numerical inputs and outputs their sum. It also offers the 'add port' feature in its node menu, enabling users to add more inputs for addition.

Addition

Usage example

Addition usage

Moreover, if we want to perform addition with a constant number, we can simply input '+2' in the search field of the Chooser. This action will automatically create an Addition node with one input already set to 2, streamlining the addition process without requiring an additional node for the constant value.

Addition Set

Add port functionality

Addition Add Port
Addition Usages

Subtraction

The Subtraction node takes numerical inputs and calculates the difference between the input number 'A' and the input number 'B', returning the result. Similar to the Addition node, the Subtraction node also features the 'add port' option in its node menu, enabling users to add more subtractors.

Subtraction

Usage example

Subtraction usage

Additionally, for performing subtraction with a constant number, users can input '-5', for instance, in the search field of the Chooser. This action will generate a Subtraction node with one input pre-set to 5, eliminating the need to connect a separate node for the constant value.

Subtraction Set

Multiplication

The Multiplication node takes numerical inputs and calculates the product of the input numbers, returning the result through the output node. Similar to the Addition and Subtraction nodes, the Multiplication node offers the 'add port' option in its node menu, facilitating the addition of more producers.

Multiplication

Usage example

Multiplication usage

Furthermore, for performing multiplication with a constant number, users can input '*5', for instance, in the search field of the Chooser. This action will generate a Multiplication node with one input pre-set to 5, streamlining the process without requiring a separate node for the constant value.

Multiplication Set

Add port functionality

Multiplication Add Port
Multiplication Use

Division

The Division node takes numerical inputs and divides the value from input 'A' by the value from input 'B', returning the result through the output node. The Division node also offers the 'add port' feature in its node menu, enabling users to add more inputs for divides.

Division

Usage example

Division usage

Similar to other mathematical operation nodes, the Division node allows users to perform division with a constant number by inputting '/5', for instance, in the search field of the Chooser. This action automatically creates a Division node with one input pre-set to 5, simplifying the process without requiring an additional node for the constant value.

Division Set

Power

The Power node calculates exponentiation, taking two inputs: 'Base', which represents the base number, and 'Exponent', which represents the exponent. It returns the result of the exponentiation operation through the output node.

Power

Usage example

Power usage

Square Root

The Square Root node computes the square root operation. It takes one input number and returns the result of the operation through the output node.

Square Root

Usage example

Square Root usage