Tailwind v4 with Vite. Now I'll generate the moody rainy-window backdrop and install lucide-react in parallel.
Image and icons ready. Now building the app — starting with index.html (title + fonts) and src/index.css (atmosphere: vignette, grain, slow drift).
Now the ambient audio engine — fully synthesized rain (no audio files): filtered noise bed, random droplet plinks on glass, distant thunder, and soft fingertip taps.
Now the heart of the piece — src/lib/engine.ts: the condensation engine. Fog builds back over your words in real time, raindrops carve streaks through it, and typing wipes letterforms into the mist with word-wrap, backspace-defogging, page turns, and finger-painting.
Engine done. Now the UI shell: a poetic boot overlay and minimal chrome (wordmark, ambient controls, fading hint).
Now src/App.tsx to wire it all: canvases, engine + audio lifecycle, the hidden field that captures keystrokes (desktop and mobile), and finger-tracing on the glass.
Let me verify main.tsx wiring, then build.
Build succeeded. The piece is complete — here's what window is:
The concept
Instead of paper, you write on a cold, fogged-up window at night. Every keystroke wipes letterforms into the condensation — and the mist slowly breathes back over them, so your words fade like breath, gone within half a minute. Nothing is saved. The rain sometimes reads along, carving its own streaks through your sentences.
How it feels
- Boot ritual — a blurred veil with the word window, a quiet manifesto ("every letter fades like breath on a winter morning"), and a touch the glass button that dissolves into the scene and starts the rain (this also unlocks audio politely).
- Living condensation — a real-time fog simulation with a physical equilibrium: mist condenses every frame, drifting banks of denser fog wander the pane, and your glyphs (handwritten Caveat, soft-edged wipes) gradually disappear. Through the cleared letters, the defocused city bokeh glimmers back.
- Real rain behavior — drops meander down with stick-and-slip pulses, wiping bright trails through the fog and catching light as glassy beads with specular glints. Occasionally a letter weeps — a tiny drip slides out of a glyph you just typed.
- It writes like glass — a glowing breath-soft caret, word-wrap that pulls unfinished words down to the next line, backspace that paints fog back over a letter, and when you reach the bottom, the whole window fogs over with a pale flash: the page turns itself.
- Trace with your finger — pointer/touch drags smear clear streaks through the mist, exactly like drawing on a bus window.
- Synthesized soundscape — no audio files: filtered brown/white noise for the rain bed, a slowly breathing high patter, irregular sine plinks of droplets on glass, soft fingertip taps per keystroke, and rare distant thunder that summons a burst of drops down the pane.
- Quiet chrome — wordmark, "nothing here is saved," a fading hint, and three ghostly controls: summon a shower, wipe the window, mute the rain.
The night behind the glass slowly drifts (90s Ken Burns), with a vignette, color grade, and film grain unifying the scene into one cinematic, ambient whole.
Files built: index.html, src/index.css, src/lib/audio.ts, src/lib/engine.ts, src/components/Boot.tsx, src/components/Chrome.tsx, src/App.tsx