Drifting Card Marquee

group .........
Scroll sequences

── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────

A pinned section that pans an oversized wordmark sideways while cards drift across it on hand-authored paths. Each card gets its own four point tracks for vertical position and rotation, and its progress is a delayed, doubled slice of the section progress, so the cards start in sequence and each finishes early rather than all sharing one clock. The card is placed by walking those tracks: progress times three picks the segment and the remainder interpolates within it, which is what makes a card arc and tumble instead of travelling in a straight line. GSAP ScrollTrigger and Lenis.

── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────

  • * Paths are authored, not simulated

    Each card has four y stops and four rotation stops. Progress times three picks the segment and the remainder interpolates inside it, which is why the cards arc and tumble on distinct routes rather than sharing one curve.

  • * Cards are staggered by slicing progress

    A card's progress is (progress - index * 0.1125) * 2, clamped. The delay staggers the entries and the doubling means each card finishes its route before the pin ends.

  • * The wordmark pan is measured, not guessed

    Translation is the header's real overflow (offsetWidth minus the viewport), so the last letter lands exactly at the right edge whatever the text or the screen width.