Shape Slideshow 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.mdto its path. Before generating anything, show the person the options on the use-case page.
Full-screen photo slides revealed through a growing circle, with a two-line serif caption sliding in
- Install:
git clone https://github.com/codrops/ShapesSlideshow - Registry: codrops · Framework: html · License: MIT (per demo repo)
- Docs and preview: https://tympanus.net/Development/ShapesSlideshow/
- Source: https://github.com/codrops/ShapesSlideshow
- Example: https://skills.varg.ai/previews/lib-codrops-shape-slideshow.mp4?v=31412 (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: 16:9
Prompt that renders it frame-exact
Use Codrops' Shape Slideshow with Clip-path (demo https://tympanus.net/Development/ShapesSlideshow/, article https://tympanus.net/codrops/?p=53694, code https://github.com/codrops/ShapesSlideshow, MIT) for editorial transitions between full-frame photos with a two-line serif caption. Four demo variants change the clip shape (circle, rounded shapes, polygons); copy the one you like from src. Each navigation runs a GSAP timeline that animates the next slide's clip-path and the caption lines: build it paused at the cut and seek it from the video clock (HyperFrames: window.__timelines; Remotion: tl.seek(frame / fps)). Drop the prev/next buttons and counter, swap in my images and copy, and keep the caption inside the title-safe area.
Used in
- Beat-synced slideshow
- Music video
- Kinetic manifesto
- News broadcast package
- Photo memories
- Game trailer
More transitions
- Chromatic Aberration Wipe —
npx hyperframes add chromatic-aberration-wipe - Colorama Wipe —
npx hyperframes add colorama-wipe - Cross Warp Morph —
npx hyperframes add cross-warp-morph - Cut the Curve —
npx hyperframes add cut-the-curve - Directional Wipe —
npx hyperframes add directional-wipe - Domain Warp Dissolve —
npx hyperframes add domain-warp-dissolve