
    animate,
    layers,
  });

  const tabUrl = (() => {
    const {t = 'examples/tutorial.html'} = query;
    if (!/^[a-z]+:\/\//.test(t)) {
      return `../${t}`;
    } else {
      return t;
    }
  })();
  _openUrl(tabUrl);

  focusedTab = rig.menuMesh.urlMesh;
  rig.menuMesh.urlMesh.updateText();
  rig.menuMesh.listMesh.updateList();

  console.log('loaded root in 2D');
};
(async () => {
  if (!query.fake) {
    if (navigator.xr) { // WebXR
      session = await navigator.xr.requestSession({
       