Scroll Velocity Skew
X-ray · layers
Parameters
How this effect works
Scroll position is boring; scroll velocity is where the personality lives. Velocity is just this frame's scrollTop minus last frame's. Feed it into a skew — skewY(velocity × sensitivity), clamped to the max lean — and the content leans into your gesture like passengers when a train brakes. Fast flick, hard lean; gentle read, barely a tilt. The page starts answering not where you are but how you move.
The raw velocity signal is spiky (wheels click, fingers stutter), so it runs through the same spring we use everywhere: velocity pulls the lean, damping bleeds it away. When you stop, the input drops to zero and the spring carries the lean back through upright with a wobble or two — the spring back layer. Stretch spends the same signal on scaleY, a whiff of motion blur without any blur.