# Image Layer Animations with Clip-Path — primitive for transitions (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.

Stacked image layers sweep across the screen one after another in clip-path wipes, ending on a new scene

- **Install:** `git clone https://github.com/codrops/LayersAnimation`
- **Registry:** codrops · **Framework:** html · **License:** MIT (per demo repo)
- **Docs and preview:** https://tympanus.net/Development/LayersAnimation/
- **Source:** https://github.com/codrops/LayersAnimation
- **Example:** https://skills.varg.ai/previews/lib-codrops-layers-animation.mp4?v=103601 (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' Image Layer Animations with Clip-Path (demo https://tympanus.net/Development/LayersAnimation/, article https://tympanus.net/codrops/?p=74227, code https://github.com/codrops/LayersAnimation, MIT) as a fast, punchy cut between two scenes: a stack of image layers wipes across with clip-path, each layer 0.2 s after the previous (1.4 s, power3.inOut), and the last one becomes the next scene. Six variations change the wipe direction and shape (js/demo1–6). The demo starts the GSAP timeline on a document click; build it paused instead and seek it from the frame (HyperFrames: window.__timelines; Remotion: tl.seek(frame / fps)). Fill the layers with frames from my footage or brand colours.

## Used in

- [Beat-synced slideshow](https://skills.varg.ai/video/beat-slideshow.md)
- [Music video](https://skills.varg.ai/video/music-video.md)
- [Kinetic manifesto](https://skills.varg.ai/video/manifesto.md)
- [News broadcast package](https://skills.varg.ai/video/news-package.md)
- [Photo memories](https://skills.varg.ai/video/memories.md)
- [Game trailer](https://skills.varg.ai/video/game-trailer.md)

## More transitions

- [Chromatic Aberration Wipe](https://skills.varg.ai/component/hf.chromatic-aberration-wipe.md) — `npx hyperframes add chromatic-aberration-wipe`
- [Colorama Wipe](https://skills.varg.ai/component/hf.colorama-wipe.md) — `npx hyperframes add colorama-wipe`
- [Cross Warp Morph](https://skills.varg.ai/component/hf.cross-warp-morph.md) — `npx hyperframes add cross-warp-morph`
- [Cut the Curve](https://skills.varg.ai/component/hf.cut-the-curve.md) — `npx hyperframes add cut-the-curve`
- [Directional Wipe](https://skills.varg.ai/component/hf.directional-wipe.md) — `npx hyperframes add directional-wipe`
- [Domain Warp Dissolve](https://skills.varg.ai/component/hf.domain-warp-dissolve.md) — `npx hyperframes add domain-warp-dissolve`
