code: function(resolution) {
    this.width = canvas.width = window.innerWidth;
    this.height = canvas.height = window.innerHeight;
    this.resolution = resolution;
    this.spacing = this.width / resolution;
    this.focalLen = this.height / this.width;
    this.range = isMobile ? 9 : 18;
    this.lightRange = 9;
    this.scale = canvas.width / 1200;
  }
docs: Camera that draws everything you see on the screen from the player's perspective.
  @param {Number} resolution Resolution to render at (higher has better quality, but lower performance).