VGPU

Air Painting

Shaders 2

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>
  );
}

More by VGPU

View all
  • Black Hole

    Black Hole

    1.4K
  • Optimized Black Hole

    Optimized Black Hole

    273
  • Earth

    Earth

    211
  • Next.js Flare

    Next.js Flare

    200
  • Particles ocean

    Particles ocean

    184
  • Triangle LED Hero

    Triangle LED Hero

    120
  • Glass Fractal

    Glass Fractal

    99
  • Interactive Fluid

    Interactive Fluid

    82

More in Shaders

View all
  • Glass Fold

    Glass Fold

    499
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Radial Shader

    Radial Shader

    149
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    22
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700