-200;

          requestAnimationFrame(render);
        } else requestAnimationFrame(load);
      }

      let lastTime = Date.now();
      function render() {
        // calculate delta time for animation purposes
        let now = Date.now() / 1000;
        let delta = now - lastFrameTime;
        lastFrameTime = now;

        // resize canvas to use full page, adjust camera/renderer
        resize();

        // Update orbital controls
        controls.update();

        // update the animation
        s