Node book
Maths
Numbers, chance, positions and logic. Adding, comparing and rounding are single nodes with a choice of operation.
Numbers
Numbers worked on one at a time.
- Maths
+ · − · × · ÷ · ÷ · % · MIN · MAX · ^Adds, subtracts, multiplies or divides whatever it is given; the dropdown picks which. - Without sign
math/AbsA number made positive - Expression
math/ExpressionWorks out what is typed, like a line of code - Negate
math/NegateA number with its sign turned - Square root
math/SqrtThe number that, times itself, gives this one. - Sine
math/SinThe sine of an angle in radians. - Cosine
math/CosThe cosine of an angle in radians. - Clamp
math/ClampA number kept from least to most. - Round
nearest · down · upA whole number from a number - Blend
math/LerpPart way from A to B
Random
Chance.
- Random
Number · Whole numberA number by chance from least to most. - Random chance
math/RandomChanceYes so many times in a hundred.
Positions
Places in the world as x and y, and the ways between them.
- Make position
math/MakeVectorA place from x and y. - Break position
math/BreakVectorA place's x and y. - Distance
math/DistanceHow many metres apart two places are. - Direction
math/DirectionThe way from one place to another, one metre long. - Length
math/LengthHow long a way is. - Make colour
math/MakeColourA colour from red, green, blue and alpha, each 0 to 1.
Logic
Yes and no.
- Compare
= · ≠ · < · ≤ · > · ≥Whether two values are the same, or which is more; the dropdown picks which. - And / or
AND · OR · XORPuts yes-or-no values together; the dropdown picks how. - Not
math/NotNo for yes, yes for no. - Pick
math/SelectA when the condition holds, else B. - Is nothing
math/IsNothingWhether a value is empty
Modding