Kedhareswer Naidu

Frosted Window Background

Shaders 73

About

Frosted window background: a winter pane at blue hour that frosts over as the page loads, grown by a real phase-field crystal simulation on the GPU, with six-fold dendrites creeping in from the cold frame over blurred street lights. Draw a finger across the glass to wipe a clear trail, and the frost grows back along its old paths. React only, WebGL2, no assets.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Frosted Window Background to your project and fits it to your theme.

Code

How Frosted Window Background is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import HoarfrostPane from "@/components/ui/hoarfrost-pane"

export default function Demo() {
  // w-full matters: 21st centres demos in a flex wrapper, and a flex item
  // left at width:auto shrinks the canvas to 0px wide.
  return (
    <div className="w-full">
      <HoarfrostPane>
        <div className="flex h-full flex-col items-center justify-center px-6 text-center">
          <p className="text-[11px] font-medium uppercase tracking-[0.32em] text-white/55">Night of 14 January</p>
          <h1 className="mt-4 text-5xl font-light tracking-tight text-white/90 [text-shadow:0_1px_24px_rgba(8,14,28,0.6)] sm:text-7xl">
            First frost
          </h1>
          <p className="mt-5 max-w-xs text-sm leading-relaxed text-white/60">
            Draw a finger across the glass. It freezes over again behind you.
          </p>
        </div>
      </HoarfrostPane>
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    5.2K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.2K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.1K
  • Morph Gallery

    Morph Gallery

    1.9K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    1.6K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.3K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.2K
  • Flipping Website Screenshot Deck

    Flipping Website Screenshot Deck

    891

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