chamaac

Light Speed

Component 50

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

    2K
  • Dancing Letters

    Dancing Letters

    705
  • Text Loop

    Text Loop

    365
  • Grid Bloom

    Grid Bloom

    65
  • Electric Mist

    Electric Mist

    64
  • Water Caustic

    Water Caustic

    48
  • Gif Text

    Gif Text

    45
  • Synthesis Background

    Synthesis Background

    44