This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.
Evaluates one math expression over all the items, taking them in order as its arguments a, b, c, …, or A, B, C, … for Transforms.
The result is read as the chosen output type: an Integer rounds to the nearest whole number, a Bool reads exactly 0 or 1 as false or true, a Vec2 takes the X and Y of a vector like 3i + 4j, and a Transform takes a matrix like rotation(pi/4) + 5i. Boolean items read as 0 or 1 and Vec2 items as such vectors.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Values | The items the expression reads. Primary Input | Bool[]Integer[]Number[]Transform[]Vec2[] |
| f(…) = | The expression evaluated over the items, such as Default: | String |
| Output Type | The type the result is read as. Default: | BoolIntegerNumberTransformVec2 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | NumberIntegerBoolVec2Transform |