Filter Scrub Gallery

group .........
Galleries and grids

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

A horizontal wall of image cards panned by pointer position with a lerped offset, plus a column of category filters that expand matching cards from a sliver to full width with a custom hop ease and collapse the rest, re-measuring the scrub range each time. GSAP with CustomEase, no other dependencies.

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

  • * Pointer-mapped scrub

    Cursor x is converted to a percentage of the container and multiplied by the overflow, then eased toward with a 0.025 lerp, so the strip trails the pointer smoothly instead of snapping to it.

  • * Width-grow filtering

    Matching cards animate from a 25px sliver to full width while the rest collapse to display none; the track is re-measured on completion so the scrub range always matches the visible set.