Using fixed canvas size, responsive scaling using css. Drawback is loss of aspect ratio.