Evaluating Pure Code Short-Video Generation as a Capability Probe
Programmatic short videos—built from math, geometry, particles, shaders, and procedural audio with no external media—test whether coding agents can ship a runnable, exportable project. This article covers constraints, visual structure, stack choices, deliverables, scoring, and how teams can use the task as a reproducible capability probe.
Programmatic short-video generation means producing an exportable piece at a fixed duration and resolution using mathematics, geometry, particles, shaders, and procedural synthesis—without external images, finished footage, or sampled audio. When an intelligent coding tool is asked to deliver a runnable project in one shot, the task tests algorithm design, engineering structure, and the rendering pipeline together. This article covers constraint design, visual narrative, stack choices, a delivery checklist, and evaluation criteria so engineering and content teams can measure capability with the same bar—not slogan-level “best.”
Why this task works as a capability probe
If short-video generation may call text-to-image or text-to-video APIs, models often offload difficulty to those services and leave only stitching in source. Ban external assets and generative media APIs, and the model must encode shape, motion, lighting, and rhythm in code. Developers gain reproducibility, version control, and offline reruns. Organizations gain clearer copyright boundaries, budgetable render cost, and failures that localize to a shader or particle module.
Hard constraints should include at least: picture and sound both generated in program; a complete tree, dependency notes, and run commands; actual export of a video or a full frame sequence plus how it is composited; for browser work, a single-page entry and offline-run notes; no pseudocode. Duration can sit at 30–60 seconds with fixed resolution and frame rate so a “concept reel” is not enough.
Visual concept before technical spectacle
Fractals or particle piles alone tend to become tech demos without rhythm. A more stable path is a motif plus a four-act structure: setup (macro or low-contrast awakening), development (space opening and light established), turn (camera and physical metaphor under pressure), resolution (after impact, condensation and close). Motifs can be abstract scientific images—negative-entropy emergence, a gravitational-lens sketch, Doppler-like color shift on accretion-like structure—but they must be visual metaphors and approximate models, not claims of full physical simulation.
Camera and color belong on a timeline: for example, the first quarter uses cool palettes and close shots for readable texture; the middle introduces volumetric light and architectural scale; the climax uses tilted framing and high contrast; the end uses a high-exposure transition into a simple geometric core. If audio is also procedural, set tempo and bar count first so particle vorticity and halo intensity lock to the beat, rather than picture and sound being written separately.
Technical approach and hard parts
Go deep on at least one complex technique instead of stacking names. Common combinations include signed distance fields and fractal iteration for organic form; procedural materials in deferred or forward shading; instanced particles and vorticity fields for a fluid-like feel; anti-flicker bloom and cinematic tone mapping in post; procedural audio at a fixed sample rate. The usual difficulty is not “writing a shader,” but temporal consistency: continuous camera paths, stable exposure, particles that do not flicker, and export frames matching preview.
Put a performance budget first. At 1080p30, instance counts, ray-march steps, and post passes need caps. Fallbacks can include fewer instances and fractal iterations, turning off volumetrics, precomputed noise instead of high-dimensional live noise, half-resolution preview, and upsample on export. Projects without fallback notes often fail to finish in reasonable time on real machines.
A browser path suits interactive preview and shader iteration, but must document how to open the single page offline and how to capture the canvas frame by frame. A desktop-script path suits batch render and A/V mux, and must document interpreter version, dependency install, and encode commands. Either way, “how you get the final packaged file” belongs in the docs—not only a live window.
Deliverables a third party can reproduce
A solid delivery typically includes: concept and visual language in under 200 words; approach and difficulties (what was approximated, what was dropped); directory layout and core source; run and render commands; output path or frame naming (e.g., zero-padded frame numbers); self-score on impact, difficulty, code quality, reproducibility, and performance. Engineering shows up in module boundaries: scene timeline, camera, shading, particles, audio, and export scripts separated—not one unmaintainable file.
Reproducibility checks are concrete: can another machine install deps from the docs, run unattended, match duration and resolution, and allow spot-checking intermediate frames? High-level nouns without key constants, shader entry points, or mux steps should count as incomplete—not “strong concept.”
Scoring that is not pulled off by copy
Use five dimensions and evidence, not adjectives. Pure code: search the tree for external asset loads and generative APIs. Reproducible: a video from the documented commands. Visual: setup–development–turn–resolution and composition, not a noise field. Technical depth: at least one module that truly couples space and time. Engineering and performance: budget, fallbacks, stable frames, and volume notes.
Common padding includes claiming a full general-relativity solve while only warping a texture; claiming tens of thousands of instances without batching or instancing; bloom and tone-mapping terms without temporal flicker control; a sample rate written down with no synthesis. Review should sample frames against the timeline and check load in the climax.
Suggestions for team process
When this task sits in a coding-agent regression set, freeze prompt version, machine spec, and timeout (for example, an exportable project within hours). Time from prompt to first runnable preview to final package is more useful than a single success. Cloud-side, generic object storage can archive frame sequences, containers can pin the render environment, and logs/monitoring can watch timeouts and VRAM peaks—industry-standard capabilities, not a vendor-specific API.
For individual developers, the value is translating director intent into executable constraints: concept, rhythm, technical depth, and an export loop. For content teams, it yields bumper and sting prototypes without stock-footage copyright risk. For platforms, it measures whether code generation has reached a shippable stage via reproducible projects rather than spoken reviews.
In sum, a pure-code short video is a combined exam of graphics, audio, engineering, and narrative. Evaluation should land on constraint compliance, temporal consistency, docs that another person can follow, and degradable performance. With that checklist, “impressive” becomes a discussable, iterable technical fact instead of a term-stuffed write-up driving decisions.
