Smudge Cursor Reveal
- group .........
- Cursor and hover effects
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/smudge-cursor-reveal.mp4
- source ........
- https://ui.aryank.space/components/smudge-cursor-reveal
- markdown ......
- /lab/smudge-cursor-reveal.md
- human .........
- /lab/smudge-cursor-reveal
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A hero where moving the cursor smudges away the top layer to reveal a hidden message underneath. Circles are stamped along the pointer path into an SVG goo-filter mask, then expand and dissolve, so the reveal reads like wiping fog off glass. Pointer and touch driven, GSAP only, no scroll.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Goo-filter mask
Circles stamped along the smoothed pointer path feed an SVG feGaussianBlur plus feColorMatrix goo filter, so overlapping stamps merge into organic blobs that mask the layer beneath.
* Speed-scaled stamps
Each stamp's radius scales with pointer speed, then a per-stamp timeline expands and dissolves it, so fast strokes clear more and every smudge heals itself.