Repeat01 (LogiX node)
Jump to navigation
Jump to search
The Repeat node in the Math category takes one argument Value, and does the same operation as the Repeat (LogiX node) where N is set to Value and Length is set to 1, that is it outputs
- Value - floor(Value)
This means that the output goes between 0 and 1 in a repeating fashion, as described in Usage.
Inputs & Outputs
Color | Label | Type |
Value | float |
Color | Label | Type |
* | float |
Usage
This node repeats values between 0 and 1, as N is increased. When N is 0, the output is 0, and then the output equals N as N increases, until N reaches the value 1, and the output goes to 0, and repeats this pattern for ever. This pattern looks like a positive-valued sawtooth wave as shown below,
Here is an interactive version of the function, https://www.desmos.com/calculator/cb5f9mwu1n