docs: function(start, end, point) {
          if (point <= start) {
              return 0;
          }
          if (point >= end) {
              return 1;
          }
          let x = (point - start) / (end - start); // interpolation
          return x * x * (3 - 2 * x);
      }