Wedge Clip Work Scroll
- group .........
- Galleries and grids
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/wedge-clip-work-scroll.mp4
- source ........
- https://ui.aryank.space/components/wedge-clip-work-scroll
- markdown ......
- /lab/wedge-clip-work-scroll.md
- human .........
- /lab/wedge-clip-work-scroll
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A work index where each project opens and closes like an aperture. The image starts as an angled wedge, widens to a full rectangle as the panel arrives, then folds shut from the bottom as it leaves. The project title is masked per character and each character gets its own short scroll window, so the name types itself upward slightly ahead of the image finishing its opening. GSAP SplitText and ScrollTrigger with Lenis.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Open and close are separate triggers
One trigger runs while the panel enters and clips the wedge out to a full rectangle, a second runs as it leaves and folds the bottom edge back in, so the exit shape is not just the entrance played backwards.
* Characters get pixel windows, not percentages
Each character's trigger is offset by 25px from the previous one, so the title types out at a rate tied to actual scroll distance and stays consistent no matter how long the name is.
* Panels are one and a half viewports
At 150svh each project has room to open, hold, and close without a neighbouring panel's triggers overlapping it.