function getSize (fit, x, y) {
    return fit
        ? Math.max(x, y)
        : Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
  }
Creates a new ripple and adds it to the container.  Also tracks ripple in `this.ripples`.
@param left
@param top