Input

Math

Math Expression

Math Expression

Math

Evaluates a mathematical expression and returns a constant number

Docs for v2.2.0, the latest version.

ID

input-math-math-expression

Group

Math

Plugin

Input

Keywords

math
formula
mathematical

Math Expression

Math

1 input, 1 output, 1 config port

Ports

Inputs

1

What the node takes in, from wires or typed values.

x

Number

Numeric input for the expression

Outputs

1

What the node gives out, to wire into other nodes.

Number

Number

Resulting constant number from the expression

Config

1

Settings on the node itself, changed in its panel.

Expression

String

Mathematical expression to be evaluated

Creation Method#

There are three options for creating a Math Expression node.#

  1. The first way to create a Math Expression node is by using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need or words associated with this node.
  • Keywords: math, formula, mathematical
  1. The second way is to select a Math Expression node from the menu that opens from the top left.
  • Menu > Math > Math Expression
  1. The third way is to create a node using the search list, which is opened by double left-clicking in the workspace. You can write the expression you need, and the node will be created with this expression.

Steps#

  1. Create a Math Expression node.
  2. Replace the input area with the desired mathematical expression, and the node will evaluate and return the result.

Example#

expression: '2 * x + sin(x)'

See also#

Range Input
Select
Text Area Input
Text Input
Boolean
Color Input