 = 800;
        scene = new THREE.Scene();
        renderer = new THREE.WebGLRenderer();
        renderer.setSize(width, height);
        document.body.appendChild(renderer.domElement);
        canvas = renderer.domElement;
        controls = new OrbitControls(camera, renderer.domElement);

        // load the assets required to display the Raptor model
        assetManager = new spine.AssetManager(baseUrl, undefined, pma);
        assetManager.loadText(skeletonFile);
        assetManager.loadTextureAtlas(a