On-Scroll 3D Grid Animations — component for galleries & carousels (html)
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
Image grids tilted in perspective that rotate, spread and fly toward the camera between big titles
- Install:
git clone https://github.com/codrops/Scroll3DGrid - Registry: codrops · Framework: html · License: MIT (per demo repo)
- Docs and preview: https://tympanus.net/Development/Scroll3DGrid/
- Source: https://github.com/codrops/Scroll3DGrid
- Example: https://skills.varg.ai/previews/lib-codrops-scroll-3d-grid.mp4?v=118814 (From the library’s repo (Codrops — Manoela Ilic))
- Time: Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- Runs: local render, free
- Aspect: any
Prompt that renders it frame-exact
Use Codrops' On-Scroll 3D Grid Animations (demo https://tympanus.net/Development/Scroll3DGrid/, article https://tympanus.net/codrops/?p=73075, code https://github.com/codrops/Scroll3DGrid, MIT) as a camera move through a wall of images: each section is a grid of photos in CSS 3D perspective that rotates, spreads apart or rushes toward the viewer, with a large serif line in between. In the demo GSAP ScrollTrigger scrubs each grid's tween with the page scroll (smoothed by Lenis). For a video, pick a section from js/index.js, build its tween in a paused timeline over the shot length and seek it from the frame (HyperFrames: window.__timelines; Remotion: tl.seek(frame / fps)). Fill the grid with 20–30 of my stills and set the line of copy.
Used in
- Faceless narrated video
- Top-N listicle
- Meme format
- News explainer
- Year in review / Wrapped
- Scores & match recap
- Flashcards & language drills
- History timeline
More galleries & carousels
- Stamp Carousel —
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/stamp-carousel && bash make.command - Circle Carousel 1 —
npx hyperframes add carousel-circle-1 - Circle Carousel 2 —
npx hyperframes add carousel-circle-2 - Circle Carousel 3 —
npx hyperframes add carousel-circle-3 - Circle Carousel 4 —
npx hyperframes add carousel-circle-4 - Circle Carousel 5 —
npx hyperframes add carousel-circle-5