Cursor Image Trail
- group .........
- Cursor and hover effects
- source ........
- https://ui.aryank.space/components/cursor-image-trail
- markdown ......
- /lab/cursor-image-trail.md
- human .........
- /lab/cursor-image-trail
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A hero that spawns a trail of images behind a fast pointer. Once the cursor travels far enough inside the frame, an image is dropped at the interpolated position and slides to the live one, revealed by ten horizontal mask layers that clip open from the center out, then collapse and fade as each image ages out. Desktop only, no dependencies.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Center-out mask reveal
Each dropped frame is split into ten horizontal bands whose clip-paths open from a center seam outward, staggered by distance from the middle, so the image unzips rather than simply fading in.
* Distance-gated spawns
A new frame only appears once the pointer has moved past a 150px threshold from the last drop, so the trail spaces itself by speed instead of flooding on every mouse event.