Modulo

Read with AI
All docs in one file (llms-full.txt)
modulo #Math #Node
Modulo

Outputs the remainder of A divided by B. Use it when building a counter that loops.

Math nodes take a float and return a float, and are used as relays that convert a knob’s value into another value. For the full picture, see Math.

Input ports

Port IDType
Afloat
Bfloat

Output ports

Port IDType
Resultfloat

Scriptable members

PathType
currentValueAfloat
currentValueBfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "modulo" })

Pages linking here

Also referenced from