code: function (x0, y0, x1, y1, color, c)
      {
          PixelArt.put(x, y, color, c)
          var dx = x1 - x0;
          var dy = y1 - y0;
          var adx = Math.abs(dx);
          var ady = Math.abs(dy);
          var eps = 0;
          var sx = dx > 0 ? 1 : -1;
          var sy = dy > 0 ? 1 : -1;
          if (adx > ady)
          {
              for (var x = x0, y = y0; sx < 0 ? x >= x1 : x <= x1; x += sx)
              {
                  PixelArt.put(x, y)
                  eps += ady;
                  if ((eps << 1) >= adx)
                  {
                      y += sy;
                      eps -= adx;
                  }
              }
          } else
          {
              for (var x = x0, y = y0; sy < 0 ? y >= y1 : y <= y1; y += sy)
              {
                  PixelArt.put(x, y)
                  eps += adx;
                  if ((eps << 1) >= ady)
                  {
                      x += sx;
                      eps -= ady;
                  }
              }
          }
      }
docs: from https://github.com/madbence/node-bresenham/blob/master/index.js