About
A serene, generative celestial light show rendered on HTML5 canvas with React. Particles flow in organic Perlin-noise patterns, leaving subtle trails and a soft glow that shifts hue over time. Ideal for immersive hero sections, ambient backgrounds, or generative-art overlays.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds CosmicAurora to your project and fits it to your theme.
Code
How CosmicAurora is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import AuroraCanvas from "@/components/ui/cosmic-aurora";
const settings = {
particleCount: 800,
particleSpeed: 0.1,
hueSpeed: 0.2,
canvasGlow: 15,
baseHue: 200,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen">
<AuroraCanvas {...s} />
</div>
);
}
















