Closed luizbills closed 6 months ago
function wrap (value, min, max) { return value - (max - min) * Math.floor((value - min)/(max - min)) }