pingy.js
function(width, height) {
    width = clamp(width, 1);
    height = clamp(height, 1);

    this._png = new PNG();
    this._png.width = width;
    this._png.height = height;

    this._png.data = buffer(width, height);

    this.forEachPoint(function(x, y, rgba) {
      return { r:0, g:0, b:0, a:255 };
    });
  }
function(width, height) {
    width = clamp(width, 1);
    height = clamp(height, 1);

    this._png = new PNG();
    this._png.width = width;
    this._png.height = height;

    this._png.data = buffer(width, height);

    this.forEachPoint(function(x, y, rgba) {
      return { r:0, g:0, b:0, a:255 };
    });
  }
Pingy constructor

@param {Number} [width] - image width
@param {Number} [height] - image height
@return {Pingy}