StarTravel
A warp speed star travel effect using Three.js.
Usage
import { StarTravel } from '@reactomega/ui';
export default function App() {
return (
<div className="relative h-screen w-full">
<StarTravel color="#ffffff" speed={1} starCount={1000} />
</div>
);
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#ffffff" | Color of the stars |
| speed | number | 1 | Speed of travel |
| starCount | number | 1000 | Number of stars |