chamaac

Light Speed

Component 51

About

A full-screen WebGL hyperspace warp animation with glowing bloom light streaks, usable as an animated page background.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Light Speed to your project and fits it to your theme.

Code

How Light Speed is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { LightSpeed } from "@/components/ui/light-speed";

const settings = {
  speed: 2.4,
  particleCount: 1000,
};

export default function LightSpeedDemo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="relative h-[500px] w-full overflow-hidden rounded-xl bg-black">
      <LightSpeed
        lightColor="#b026ff"
        speed={s.speed}
        particleCount={s.particleCount}
      />
      <div className="pointer-events-none absolute inset-0 flex items-center justify-center">
        <h1 className="font-mono text-5xl font-bold uppercase tracking-widest text-white sm:text-7xl">
          Light Speed
        </h1>
      </div>
    </div>
  );
}

Dependencies

More by chamaac

View all
  • How It Works

    How It Works

    2.1K
  • Dancing Letters

    Dancing Letters

    706
  • Text Loop

    Text Loop

    380
  • Electric Mist

    Electric Mist

    65
  • Grid Bloom

    Grid Bloom

    65
  • Gif Text

    Gif Text

    49
  • Water Caustic

    Water Caustic

    48
  • Shimmer Button

    Shimmer Button

    44