code: function wrap(num, min, max) {
          return num - floor((num - min) / (max - min)) * (max - min)
      }
docs: /// Function wrap ////////////////////////////////////////////////////////  (num:Num, min:Num, max:Num) ↦ Num  Keeps a number within the given boundaries, but if the given number exceeds it, it wraps around.