GalaxyParticles
Layout & HeroInteraktive 3D-Galaxy-Animation mit Three.js. Reagiert auf Mausbewegung und Scroll.
Live Demo
Galaxy wird geladen...
Props / API
| Prop | Typ | Pflicht | Default | Beschreibung |
|---|---|---|---|---|
nebulaCount | number | Nein | 30000 | Anzahl der Nebel-Partikel |
starCount | number | Nein | 3000 | Anzahl der Stern-Partikel |
minHeight | string | Nein | '100vh' | Mindesthöhe des Containers |
className | string | Nein | — | Zusätzliche CSS-Klassen |
Code-Beispiel
<GalaxyParticles
nebulaCount={20000}
starCount={2000}
minHeight="100vh"
className="absolute inset-0 -z-10"
/>