Warp Grid
A two-column grid of projects drawn in WebGL that answers the scroll: while the page moves, the cards' outer edges bend out by where they sit on the screen (bottom corners flare near the bottom, the edge curves in the middle, top corners flare near the top), then it all settles flat the moment you stop. Each card also reveals itself: it arrives smaller and turned, outer corner low, and grows and straightens as it comes in, opening onto its picture like a mask, with a lag, so a fast scroll carries cards past half grown. While the page moves the titles roll away and the lines under them flicker as scrambled characters; once it settles the titles roll back up letter by letter and the lines type out. A hovered card slides an arrow in before its title.
How It Works
The pictures in the page are placeholders: one fixed canvas draws each card in view as a plane cut into a grid, at its placeholder's box (measured on the page once, so each frame only subtracts the scroll). The scroll speed, eased, drives the vertex shader: every point is pushed out from the centre line of the screen by its distance from it and by the square of its distance from the screen's vertical middle, so inner edges stay put and outer edges flare near the top and bottom of the screen and curve in between. Each card also has a reveal value: off screen it resets to 0; on screen it aims for how far the card has come in from the edge it entered by and never falls back, and it follows that aim with a lag. The reveal scales and turns the plane around its inner bottom corner, and the fragment shader zooms the picture the other way inside the smaller frame, so the frame opens onto it. The same speed, with a short calm period, decides whether the text shows: titles are letters in masks that roll out upward and back up from below on staggered transitions, and the line under them flickers or types itself out.
Use It
Install it with shadcn, or copy the file into your components folder, then use it like this. Change a setting in the demo and the example picks it up. Works with Next.js (App Router) and any React 19 project on Tailwind CSS v4.
npx shadcn@latest add @reacthive/warp-grid<WarpGrid items={projects.map((p) => ({ src: p.cover, alt: p.coverAlt, title: p.name, meta: p.kind, href: `/work/${p.slug}` }))} />- Put it in the normal flow of a page; it reads the page's own scroll, so it works with native scrolling and smooth-scroll libraries alike. Two columns from 640px, one below; in one column a card grows from its bottom middle, straight, instead of pivoting on an inner corner.
- Each item needs a src, alt and title; meta is a short line under the title and href makes the card a link. Titles and lines give way while the page scrolls and come back once it has been calm for a moment.
- warp sets how far the outer edges bend at speed (0 keeps them flat). The bend and the reveal work the same scrolling up or down; a card stays full size until it leaves the screen, then reveals again next time. Once the page settles, every card on screen finishes growing, and cards on screen when the page opens start full size. aspect is each card's width over height (3:2 by default).
- Plain WebGL2, no packages: one file. Card boxes are measured once and on layout changes, never per frame, and it only draws while something moves. Without WebGL, or with reduced motion, it's an ordinary grid of pictures with the titles set.
More Scroll

Card Deal
Scroll

Step Stack
Scroll

Arc Gallery
Scroll
Your Next Site Starts with a Live Demo.
Click around first. What you see is exactly what you download.