s to allow looking to the center of
            // the scene.
            // After definition, the camera has to be added to the scene.
            camera = new THREE.PerspectiveCamera(45, canvasWidth / canvasHeight, 1, 100);
            camera.position.set(0, 0, 15);
            camera.lookAt(scene.position);
            scene.add(camera);

            // Load an image as texture and create cube
            loadTexture();
        }

        function loadTexture () {
            var loader = ne