Ribbon Stroke Scroll
- group .........
- Scroll sequences
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/ribbon-stroke-scroll.mp4
- source ........
- https://ui.aryank.space/components/ribbon-stroke-scroll
- markdown ......
- /lab/ribbon-stroke-scroll.md
- human .........
- /lab/ribbon-stroke-scroll
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A pinned intro where thick rounded ribbons draw themselves across three oversized rows on scroll, two curved ribbons sweep through and erase themselves, the palette flips to dark halfway, and the rows finally slide off screen.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* Outlined ribbons
Every ribbon is two stacked paths: a border stroke 10px wider under the colored stroke, so each ribbon carries a dark outline as it draws in.
* Draw then erase
The two curve ribbons animate strokeDashoffset to zero to draw, then keep going negative to erase themselves tail-first before the rows exit.