 imageSplats({ url: imageURL });
    image.scale.setScalar(0.7 / 400);
    image.position.set(-0.5, -1, -2);
    scene.add(image);

    const controls = new SparkControls({ canvas: renderer.domElement });

    renderer.setAnimationLoop(function animate(time) {
      controls.update(camera);
      renderer.render(scene, camera);

      pyramid.rotation.y = time / 5000;

      // Move stars back and forth
      stars.position.z = Math.sin(time / 10000) * 10;
      // Rotate butterfly at differe