controls;
      let lastFrameTime = Date.now() / 1000;

      let baseUrl = "/assets/";
      let skeletonFile = "raptor-pro.json";
      let atlasFile = skeletonFile
          .replace("-pro", "")
          .replace("-ess", "")
          .replace(".json", ".atlas");
      let animation = "walk";

      function init() {
          // create the THREE.JS camera, scene and renderer (WebGL)
          let width = window.innerWidth,
          height = window.innerHeight;
          camera = new THREE.PerspectiveC