ProtoFlux:Ping Pong

From Resonite Wiki
Revision as of 19:18, 29 June 2024 by AmasterAmaster (talk | contribs) (Filled in this node page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Ping Pong
N
*
Length
Math

The Ping Pong node takes in a number and the length, then returns a value that fits in that range, only bouncing back to the start when the number would be too large compared to the length, repeatedly.

Inputs

N (Pseudo-Generic)

The number provided for this ping pong.

Length (Pseudo-Generic)

The range/limit for this ping pong calculation.

Outputs

* (Pseudo-Generic)

The calculated value currently. If a number surpasses this, it bounces back. The same is true for the other side, bouncing forwards again. This repeats for as many times equal to the size of the provided number.