Galaxia espiral generativa de ~50.000 partículas. El giro y el vaivén de los brazos se calculan por completo en el vertex shader.
import ParticleGalaxy from "@/components/ParticleGalaxy";
// Copia también la carpeta components/three (escena + utilidades).
// Requiere: npm i three
<section style={{ position: "relative", height: "100vh" }}>
<ParticleGalaxy />
<div style={{ position: "relative", zIndex: 2 }}>
<h1>Tu contenido</h1>
</div>
</section>