PolkaDotsCurtain — primitive for transitions (glsl)
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.
The next shot appears through a grid of polka dots that grow until they cover the frame
- Install:
npm install gl-transitions - Registry: gl-transitions · Framework: glsl · License: MIT
- Docs and preview: https://gl-transitions.com/editor/PolkaDotsCurtain
- Source: https://github.com/gl-transitions/gl-transitions/blob/master/transitions/PolkaDotsCurtain.glsl
- Example: https://skills.varg.ai/previews/lib-gl-transitions-polka-dots-curtain.mp4?v=119500 (Rendered by varg from the library’s own code (GL Transitions · rendered by varg))
- Time: Seek-safe. Time is an input, so frame N always renders the same. Drop it into a render as it is.
- Runs: local render, free
- Aspect: any
Prompt that renders it frame-exact
Add the "PolkaDotsCurtain" transition from GL Transitions (by bobylito, MIT; https://gl-transitions.com/editor/PolkaDotsCurtain, GLSL source https://github.com/gl-transitions/gl-transitions/blob/master/transitions/PolkaDotsCurtain.glsl) between scenes of a playful, pop-styled edit: 0.9 s, ease-in-out. The dots grow from one corner across the frame. Remotion: npm install gl-transitions @gl-transitions/remotion @remotion/transitions, then a <TransitionSeries.Transition> with presentation={glTransition({ name: "PolkaDotsCurtain", params: { dots: 20.0, center: [0, 0] } })} and timing={linearTiming({ durationInFrames: 27, easing: Easing.inOut(Easing.cubic) })} (27 frames at 30 fps). HyperFrames: draw the GLSL on a full-frame WebGL canvas over the cut, with the outgoing and incoming frames as the from/to textures, and compute progress from the composition time, clamp((t − cutStart) / 0.9, 0, 1) through the easing; never from requestAnimationFrame or a timer, so every frame renders the same. ffmpeg's xfade can't run GLSL. dots (20) is the grid density and center (vec2(0, 0), bottom-left) where the dots start growing; vec2(0.5, 0.5) grows them from the middle.
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