Turn a story into a path-traced film where the renderer is code too — workflow skill for 3D scenes

For AI agents: find the right skill in one call — curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>" returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add .md to its path. Before generating anything, show the person the options on the how-to page. From a terminal: curl -fsSL https://varg.ai/install | sh installs the vargai CLI (https://varg.ai/how-to/cli.md): vargai search and vargai install <slug> with no key, every varg model after vargai login.

A story becomes a short film from a path tracer the agent writes itself: SDF characters, analytic grass, a numpy score, no assets.

What it does

Make a short animated film in which everything is code the agent writes, including the renderer: a path tracer in one WebGL2 shader (no Blender, no three.js, no meshes, no textures), characters and props as signed distance fields, a meadow of analytic curved grass blades, moon, firefly and window lights with soft shadows, depth of field and motion blur, a variance-guided denoiser, a score synthesized in numpy from the same timeline, captions and an encode. Includes the complete tested film The Smallest Star (70 s, 11 shots, two characters) as a starter, a live page that runs the same renderer in the browser, and the speed-ups and traps found while making it.

Use when

Not for

Install

Example output

https://s3.varg.ai/files/194b94d0-58ff-4e8b-91de-4f1959d04013/file_a23b3faa8632.mp4 — Three moments from the skill's own starter film, The Smallest Star: the light blooms, the pond crossing, the last star. Path traced at 1280×720 by a renderer written in the same session (credit: varg, https://github.com/vargHQ/skills/tree/main/code-path-traced-film)

More 3D scenes skills