iPhone Duo Fold — effect skill for phone & app screens

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.

Your screens on Apple's foldable iPhone Duo, unfolding in 3D with its progressive blur. Local, free.

What it does

Apple's foldable iPhone in 3D, folding open or shut with your screens: the cover shows while it's folded, the inner screen when it opens, and the moving half blurs and darkens toward its edge exactly like the launch film. A screen can be an image, a screen recording, an HTML page the agent writes for you, or a URL, and one picture can span both screens so the folded view continues into the open one. Four presets (unfold, fold, loop, reveal) or your own keyframes for the hinge and the camera, Star White or Night Sky, a caption that sits with the phone at any aspect, MP4 at any size or transparent ProRes 4444 / WebM for an edit. Frames are rendered one by one in headless Chrome and piped into ffmpeg, so the same flags always give the same video; a 6 s 1080p clip takes about 20 s. The fold deformation and blur shaders are ported from jadon7/iphone-duo (MIT); Apple's AR model is fetched from apple.com on the first run and never bundled.

Use when

Not for

Install

Example output

https://skills.varg.ai/previews/iphone-duo-fold.mp4 — Rendered with the template itself: bun render.ts --config examples/aurora.json (a generated panorama across both screens; folded, the cover shows the cabin and the clock, unfolding reveals the lake). 1920x1080, 7 s. (credit: varg, https://github.com/vargHQ/code2video-templates/tree/master/iphone-duo-fold)

More phone & app screens skills