Spotlight Index Scroll
- group .........
- Galleries and grids
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/spotlight-index-scroll.mp4
- source ........
- https://ui.aryank.space/components/spotlight-index-scroll
- markdown ......
- /lab/spotlight-index-scroll.md
- human .........
- /lab/spotlight-index-scroll
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A pinned gallery where a centered column of images scrolls past a fixed sightline: whichever image sits on the center line brightens, a running NN/TT index counter climbs the left edge, and a stacked list of project names on the right lights up and slides one entry at a time.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Center-line spotlight
Each frame checks which image straddles the half-viewport line by its live bounding box and sets that one to full opacity, so the highlight tracks the scroll exactly.
* Per-name windows
Every project name owns a 1/N slice of the scroll; inside its slice it slides up and turns white, then hands off to the next as the counter ticks over.