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

PropTypeDefaultDescription
colorstring"#ffffff"Color of the stars
speednumber1Speed of travel
starCountnumber1000Number of stars