Modulo

What is it about?

This page documents the Modulo node of the Scene Nodes system in Cinema 4D. It returns the remainder of an integer division — the classic tool for cyclic counters, stripe patterns and repeating index logic.

The Modulo calculation can be used to output values’ repeating cycles, even if the input values are sequential. In this example, a Node's brightness values are further subdivided.

This Node calculates the remaining amount of a whole number division. For example, if you want to divide a value of 5 by 3, 2 will remain. This is what the result for the Node would be if Value 1 were set to 5 and Value 2 were set to 3.