Extract the movement
Sample 120 frames across your source clip. Keep the motion that tells the story.
extract_frames.py hero.mp4 --count 120
Open source. Built for the scroll.
From the first frame to the final detail.
A motion toolkit you can make your own.
One config. Your art direction.
120 frames · 3 widths · a budget that holdsThe phone separates into components as you scroll and reassembles when you reverse. Animation is optional; all documentation remains available without it.
Preparing the sequence
The toolkit
A reusable frame engine, an agent skill, and a collection of independently art-directed sites. Start with a working pipeline. Spend your time on the experience.
HTML · CSS · JavaScript
GSAP · Three.js · vgpu
Selected examples / 01—04
Explore the finished pages.
Inspect the source. Make one yours.
The frame pipeline
Your footage, sampled and encoded into a responsive sequence. The visitor controls the pace.
Read the pipeline guideSample 120 frames across your source clip. Keep the motion that tells the story.
extract_frames.py hero.mp4 --count 120Encode 640, 960 and 1600px versions in AVIF and WebP. Each visitor downloads one sequence.
The gate checks actual assets and fails on a breach. Cut frames, dimensions or quality before shipping.
8 MiB sequence ceiling / 1.5 MB for phone rungsConsidered defaults
The runtime follows motion preferences
and falls back to a real image.
Phones fetch the 640 or 960 rung, held to 1.5 MB. Reduced motion, Save-Data and 2G get the real poster.
The bitmap cache works within 128 MiB, prioritizing the frame you need when you fling or reverse.
Copy the frame template. Change its copy, colors and section order in one file. Keep the engine intact.
Get started
The clone includes working demos and sample frames. Start the server below, then open localhost:8080. No build step or source clip is needed.
Choose your next stepgit clone https://github.com/dimeloper/motion-site-kit.git
cd motion-site-kit
python3 -m http.server 8080 --directory docs
# Open http://localhost:8080Beyond the hero
Four page recipes and 34 section families. Preview a complete page at desktop or phone width, then copy its content brief.
Explore the page kit