d' );

        const video = document.getElementById( 'video' );
        const image = document.getElementById( 'image' );
        const canvas2d = document.getElementById( 'canvas2d' );
        const canvas3d = document.getElementById( 'canvas3d' );

        video.load();
        video.play();
        video.addEventListener( 'ended', () =>
        {
            video.load();
            video.play();
        } );

        const ctx = canvas2d.getContext( '2d' );
        const rect = canvas3d.getBoundingCli