Is There a Way to Clamp a Value to a "Cirular" Range?

That’s modulus:

image