Wheel Clip Slider
- group .........
- Sliders and carousels
- source ........
- https://ui.aryank.space/components/wheel-clip-slider
- markdown ......
- /lab/wheel-clip-slider.md
- human .........
- /lab/wheel-clip-slider
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A wheel-driven slider where the incoming frame is not moved, it is unclipped. The next slide sits at full size with its clip-path collapsed to the edge you are scrolling from and opens to the full rectangle, while its image travels from scale two down to one and the outgoing image travels the opposite way, so the two pictures cross in depth rather than sliding. The word column is one strip stepped by exactly its line height, a magnetic ring follows the pointer at half strength, and the ring's stroke is drawn out and back with a dash offset on every change. Slides are built on demand and any slide more than two away is dropped, so the list never exceeds five nodes.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* The frame opens, it does not travel
The incoming slide is already full size and full bleed; only its clip-path changes. Nothing slides, which is why the transition reads as a reveal rather than a carousel step.
* Two images cross in depth
Outgoing goes to scale two, incoming comes from scale two down to one, both over the same two seconds. The overlap is what sells the depth; matching the durations is what keeps them from fighting.
* The DOM stays at five nodes
Slides are created on demand and anything more than two away is removed after each transition, so scrolling a hundred times does not accumulate a hundred images.