# Rapid Image Layers Animation — primitive for intros & hooks (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 `.md` to its path. Before generating anything, show the person the options on the use-case page.

A burst of full-screen photos slamming in one on top of another before landing on the final image

- **Install:** `git clone https://github.com/codrops/RapidLayersAnimation`
- **Registry:** codrops · **Framework:** html · **License:** MIT (per demo repo)
- **Docs and preview:** https://tympanus.net/Development/RapidLayersAnimation/
- **Source:** https://github.com/codrops/RapidLayersAnimation
- **Example:** https://skills.varg.ai/previews/lib-codrops-rapid-layers-animation.mp4?v=43848 (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' Rapid Image Layers Animation (demo https://tympanus.net/Development/RapidLayersAnimation/, article https://tympanus.net/codrops/?p=48939, code https://github.com/codrops/RapidLayersAnimation, MIT) as a splash intro or a hard transition: a series of full-frame images slides in rapid succession, each layer covering the last, ending on the hero image. The logic is in src/js/revealer.js, a GSAP timeline that the demo creates paused and plays on a menu click; keep it paused and seek it with the video (HyperFrames: window.__timelines; Remotion: tl.seek(frame / fps)). Load 5–8 of my stills into the .layers__item elements, set duration and the per-layer offset to the beat of the music.

## Used in

- [Product launch film](https://skills.varg.ai/video/product-launch.md)
- [App promo & App Store preview](https://skills.varg.ai/video/app-promo.md)
- [Ad variants for testing](https://skills.varg.ai/video/ad-variants.md)
- [Channel intro & end screen](https://skills.varg.ai/video/channel-intro.md)
- [Year in review / Wrapped](https://skills.varg.ai/video/wrapped.md)
- [Beat-synced slideshow](https://skills.varg.ai/video/beat-slideshow.md)
- [Brand intro & bumper](https://skills.varg.ai/video/brand-intro.md)
- [News broadcast package](https://skills.varg.ai/video/news-package.md)

## More intros & hooks

- [Blue Sweater Intro Video](https://skills.varg.ai/component/hf.blue-sweater-intro-video.md) — `npx hyperframes add blue-sweater-intro-video`
- [Facet Morph](https://skills.varg.ai/component/hf.facet-morph.md) — `npx hyperframes add facet-morph`
- [Locked Nucleus Orbit](https://skills.varg.ai/component/hf.locked-nucleus-orbit.md) — `npx hyperframes add locked-nucleus-orbit`
- [SVG Stroke Trace](https://skills.varg.ai/component/hf.svg-stroke-trace.md) — `npx hyperframes add svg-stroke-trace`
- [Whiteboard Ink](https://skills.varg.ai/component/hf.whiteboard-ink.md) — `npx hyperframes add whiteboard-ink`
- [Logo Intro Sequence](https://skills.varg.ai/component/hf.yt-logo-intro.md) — `npx hyperframes add yt-logo-intro`
