Manual
Programming Reference
mirror
Given the input position x, the sample position is computed as 1 - abs(mod(x, 2) - 1)
x
1 - abs(mod(x, 2) - 1)