Skip to content

Node catalog: nodes-math ​

5 nodes. Generated by scripts/gen-node-catalog.mjs from packages/nodes-math/src/install.ts.

Slot types such as number, string and boolean are regular data ports, while event marks an action port. Widgets are interactive controls drawn inside a node; properties are serialized with the graph.

math/approx_eq — Approx. Eq ​

Check if two floating-point numbers are approximately equal

  • Inputs: A: number, B: number, epsilon: number
  • Outputs: true: boolean, false: boolean
  • Source: MathApproxEq.ts

math/floor — Floor ​

Floor number to remove fractional part

math/noise — Noise ​

Random number with temporal continuity

  • Inputs: in: number
  • Outputs: out: number
  • Properties: min, max, smooth, seed, octaves, persistence, speed
  • Source: MathNoise.ts

math/operation — Operation ​

Easy math operators

  • Inputs: A: number,array,object, B: number
  • Outputs: =: number
  • Properties: A, B, OP
  • Source: MathOperation.ts

math/rand — Rand ​

Random number

  • Inputs: none
  • Outputs: value: number
  • Properties: min, max
  • Source: MathRand.ts

Released under the MIT License.