Galaxy
3D spiral galaxy effect using React Three Fiber.
Properties
10000
Number of stars
#2e9aff
Core color
5
Galaxy radius
3
Number of spiral arms
1
Spin factor
Installation
npm install @reactomega/ui three @react-three/fiber @react-three/dreiUsage
import { Galaxy } from '@reactomega/ui';
export default function App() {
return (
<div className="relative w-full h-screen">
<Galaxy color="#ff6030" />
</div>
);
}