Skill / SKILL.md

Code Path Traced Film

vargHQ/skills

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 someone asks for a film, short or music piece "made entirely in code", "write your own renderer / ray tracer / path tracer and make a film with it", a storybook or clay-diorama 3D short without Blender, a "no assets, no video model" showcase of what a coding model can do, or a remake of The Smallest Star with another story. Not for a Blender film (blender-code-film), a three.js explainer (code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (kinetic-type-art, hyperframes) or AI-generated footage (varg-ai).
2 views 55 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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 someone asks for a film, short or music piece "made entirely in code", "write your own renderer / ray tracer / path tracer and make a film with it", a storybook or clay-diorama 3D short without Blender, a "no assets, no video model" showcase of what a coding model can do, or a remake of The Smallest Star with another story. Not for a Blender film (blender-code-film), a three.js explainer (code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (kinetic-type-art, hyperframes) or AI-generated footage (varg-ai).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/vargHQ/skills' skill-source

Use the complete skill-source/code-path-traced-film directory with your client’s skill installer.

  • code-path-traced-film

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory code-path-traced-film

Compatibility & requirements

Declared compatibility

Google Chrome with WebGL2, EXT_color_buffer_float and EXT_float_blend (headless on the real GPU; tested on Chrome 157, Apple M4 Pro, Metal), Bun 1.x, Python 3 with numpy and Pillow, ffmpeg. No API key, no credits. Measured on a MacBook Pro M4 Pro: shader compile 0.2-0.6 s, a 480x270 draft still about 0.4 s, a whole-film contact sheet (33 stills) 13 s, final frames at 1280x720 0.2-15 s each (20-50 samples per pixel).

Declared tools

Bash(bun:*) Bash(python3:*) Bash(ffmpeg:*) Bash(ffprobe:*) Read Write Edit

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
480855f6696f60b44da6975e8691a576711be3e42f1ade7c1ed204dc61d85ca0
Format validation findings
  • Invalid or missing description.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills