docs: function countBlackWhiteRun(origin, end, matrix, length) {
          const rise = end.y - origin.y;
          const run = end.x - origin.x;
          const towardsEnd = countBlackWhiteRunTowardsPoint(origin, end, matrix, Math.ceil(length / 2));
          const awayFromEnd = countBlackWhiteRunTowardsPoint(origin, { x: origin.x - run, y: origin.y - rise }, matrix, Math.ceil(length / 2));
          const middleValue = towardsEnd.shift() + awayFromEnd.shift() - 1; // Substract one so we don't double count a pixel
          return awayFromEnd.concat(middleValue).concat(...towardsEnd);
      }