0
Q:

how to clamp a value by modulus

let d=max-min;
let c=((value-min)%d)+min;
1

New to Communities?

Join the community