    this.mouse.x = (clientX / document.documentElement.clientWidth) * 2 - 1;
                this.mouse.y = 1 - (clientY / document.documentElement.clientHeight) * 2;
            };

            // Public methods

            static resize = (width, height) => {
                this.camera.aspect = width / height;
                this.camera.updateProjectionMatrix();

                if (width < height) {
                    this.targetXY.x = 1;
                } else {
                    this.targetXY.x =