About
A responsive, animated hero background built with Three.js using InstancedMesh and post-processing effects (Unreal Bloom + RGB Shift). Ideal for landing pages, hero sections, and visual effects.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AI Hero Background to your project and fits it to your theme.
Code
How AI Hero Background is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import AiHeroBackground from "@/components/ui/ai-hero-background";
const settings = {
cols: 120,
rows: 120,
spacing: 0.6,
dotRadius: 0.03,
jitter: 0.3,
hexOffset: 0.5,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen relative bg-black">
<AiHeroBackground {...s} />
</div>
);
}








