dist/pixi-graph.umd.js
/**
       * finds the scale value that fits the larger of a world width and world height on the screen
       * does not change the viewport (use fit... to change)
       * @param {number} width in world pixels
       * @param {number} height in world pixels
       * @returns {number} scale
       */
finds the scale value that fits the larger of a world width and world height on the screen
does not change the viewport (use fit... to change)
@param {number} width in world pixels
@param {number} height in world pixels
@returns {number} scale
finds the scale value that fits the larger of a world width and world height on the screen does not change the viewport ( use fit ... to change ) @param { number } width in world pixels @param { number } height in world pixels @returns { number } scale
findCover(width, height) {
          const scaleX = this.screenWidth / width;
          const scaleY = this.screenHeight / height;
          return Math.max(scaleX, scaleY)
      }
findCover ( width , height ) { const scaleX = this . screenWidth / width ; const scaleY = this . screenHeight / height ; return Math . max ( scaleX , scaleY ) }
finds the scale value that fits the larger of a world width and world height on the screen
 does not change the viewport (use fit... to change)
 @param {number} width in world pixels
 @param {number} height in world pixels
 @returns {number} scale
finds the scale value that fits the larger of a world width and world height on the screen does not change the viewport ( use fit ... to change ) @param { number } width in world pixels @param { number } height in world pixels @returns { number } scale