About
Wipe frost from a GPU-rendered glass surface by dragging across it. A persistent compute-shader mask reveals the scene beneath without requiring camera access.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Air Painting to your project and fits it to your theme.
Code
How Air Painting is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Component from "@/components/ui/air-painting";
const settings = {
brushSize: 48,
};
export default function Default(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="fixed inset-0 h-screen w-screen overflow-hidden bg-black">
<Component brushSize={s.brushSize} />
</div>
);
}
















