# Edge Warp Rail

**Group:** Pages  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/edge-warp-rail.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/edge-warp-rail.mp4)  
**Source:** [https://ui.aryank.space/pages/edge-warp-rail](https://ui.aryank.space/pages/edge-warp-rail)  
**Human:** https://blankinterfaces.com/lab/edge-warp-rail

---

## What it is

A case study read sideways. Vertical scroll drives a horizontal rail of media: wheel down, swipe, or grab the rail and drag, and the whole strip travels left. Tiles bend and recede at the left and right of the frame like a page turning, so leaving the viewport reads as motion rather than a cut, and a soft edge mask dissolves them at the rim. Portrait, square, and wide frames sit in one continuous line sized by their own proportions, with short note cards set between them. Images fade up from transparent as they load. It owns its own scroll container, so it embeds in a bounded box or fills the viewport; on small screens it becomes a plain vertical stack, and with reduced motion a native horizontal scroller with no scroll hijacking. No animation library.

## Behaviour

### Scroll becomes travel

The component owns a vertical scroll container whose height equals the rail's overflow plus one viewport. A sticky band is pinned while the rail translates left by exactly the scroll offset, so one pixel of scroll is one pixel of sideways travel. Wheel and drag both write to that same scroll position, so every input agrees.

### The rim curls

Each tile measures its position against the band every frame. Within the outer twelve percent on either side it rotates on Y toward a shared vanishing point and recedes on Z, with a flat middle and a fast falloff at the very edge, while a horizontal mask fades it out as it clears the frame.

### Owns its scroll, degrades cleanly

Because it scrolls its own box rather than the window, it embeds in a bounded stage or fills the screen unchanged. Below 768px it renders a plain vertical stack, and with reduced motion it becomes a native horizontal scroller, so the warp rig only runs when it can.

---

[View all content](https://blankinterfaces.com/sitemap.md)
