About
Draw light with the pointer and watch it bounce: a jump-flooded distance field feeds six radiance cascades — base 4, geometric intervals, linear RGBA16F — merged top-down with visibility alpha into 2D global illumination.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Radiance Cascades to your project and fits it to your theme.
Code
How Radiance Cascades is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Component from "@/components/ui/radiance-cascades";
export default function Default() {
return (
<div className="absolute inset-0 h-screen w-full overflow-hidden bg-black">
<Component />
</div>
);
}
















