What problem does it solve?
Scroll-driven animations often break on reverse scrolling, trap the footer, ignore reduced-motion preferences, or depend on autoplay and wheel hijacking. This Skill provides a disciplined architecture for building scroll-scrubbed visual sequences where native scroll position deterministically controls the exact visual state in both directions.
Core Features & Use Cases
- Renderer Selection Guidance: Choose between video, image sequences, canvas, SVG/DOM, or WebGL renderers based on content type, with media-safety rules like frame clamping, poster frames, and requestAnimationFrame-coalesced seeks.
- Sticky Stage Architecture: Build a section in normal document flow with a position:sticky viewport stage, normalized 0-1 progress mapping, and clean release into the next section, with optional GSAP ScrollTrigger integration.
- Accessibility and Cleanup Contracts: Preserve semantic copy, keyboard navigation, prefers-reduced-motion static fallbacks, and full cleanup of listeners, observers, and renderer resources.
- Use Case: A designer wants a hero section where an abstract product assembles as the user scrolls and disassembles on scroll-up. The Skill supplies the progress math, sticky layout, state-driven copy stops, and a working demo (demo/index.html) to recreate or remix.
Quick Start
Use the scroll-scrubbed-visual-sequence skill to turn this visual transformation into a responsive, reversible scroll-controlled sequence with a sticky stage and reduced-motion fallback.