export const M = {} M.clamp = (num, min, max) => Math.min(Math.max(num, min), max)