Drawn Path Features

group .........
Layout, lists and widgets
human .........
/lab/drawn-path-features

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

A feature section threaded together by one fat orange stroke. The path sits behind the content on a negative layer and draws itself in exact step with the scroll, so the line arrives at each illustration and card just as that block reaches reading position, and completes on the last row. Stroke dash offset driven by GSAP ScrollTrigger with Lenis.

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

  • * One dash offset, measured at runtime

    The path's real length is read with getTotalLength and used for both the dash array and the starting offset, so the stroke draws exactly once across the section regardless of viewport size.

  • * The line lives behind the content

    The SVG sits on a negative layer inside the section, so the stroke passes behind the cards while remaining visible over the page background.

  • * Scrub is tied to the section, not a pin

    The trigger runs top top to bottom bottom on the feature section itself, so nothing is pinned and the drawing rate stays locked to natural reading speed.