Minimap Scrubber
- group .........
- Sliders and carousels
- source ........
- https://ui.aryank.space/components/minimap-scrubber
- markdown ......
- /lab/minimap-scrubber.md
- human .........
- /lab/minimap-scrubber
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A filmstrip navigator with a fixed selector window. A column of thumbnails glides under a bordered indicator as you wheel or drag; whichever overlaps the indicator most dims to mark itself active and swaps the large centered preview, and clicking a thumbnail eases it into the indicator. Turns horizontal on narrow screens. Lerped, no dependencies.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Overlap-based selection
Active state is decided by measuring which thumbnail overlaps the fixed indicator window the most, so the selection is precise even mid-glide rather than snapped to discrete steps.
* Two lerp speeds
Wheel and drag settle with a 0.075 lerp for responsiveness, while clicking a thumbnail uses a slower 0.05 lerp so the programmatic ease into the indicator reads as deliberate.