code: function steps(steps) {
    if ( steps === void 0 ) steps = 10;
  
    return function (t) { return Math.round(t * steps) * (1 / steps); };
  }
docs: Basic steps easing implementation https://developer.mozilla.org/fr/docs/Web/CSS/transition-timing-function