entRect();
        const ratio = 1; //window.devicePixelRatio || 1;
        const bmd = new ImageData( rect.width, rect.height );

        Stats.add( 'gpu' );
        Stats.add( 'cpu' );
        Stats.add( 'total' );
        document.body.appendChild( Stats.el );

        canvas2d.width = canvas3d.width = rect.width * ratio;
        canvas2d.height = canvas3d.height = rect.height * ratio;
        canvas2d.style.width = canvas3d.style.width = rect.width + 'px';
        canvas2d.style.height = canvas3d.style.