andom() - 0.5).multiplyScalar(50);
          // Random purple-ish color
          color.set(0.4 + Math.random() * 0.3, 0.5, 0.7 + Math.random() * 0.3);
          splats.pushSplat(center, scales, quaternion, opacity, color);
        }
      },
    });
    stars.position.set(0, -0.5, -2);
    scene.add(stars);

    // Generate splats from rendered text
    const text = textSplats({
      text: "I        GSplats!",
      font: "Arial",
      fontSize: 60,
      color: new THREE.Color(0xE420B7),
