taichi_glsl.scalar.
fract
Compute the fractional part of the argument.
fract returns the fractional part of x.
x – Specify the value to evaluate.
The return value is calculated as x - floor(x).