spec-to-loop

Installation
SKILL.md

spec-to-loop: from a one-line brief to a measured, seamless loop

Short generative loops (a few seconds, 60 fps) whose picture is computed on the GPU and whose score is synthesized in code, held to numbers: every motion has a frame, every hit lands on an exact sample, every claim in the delivery is measured from the delivered file. The method has two halves. First write a spec where every adjective is a number. Then build it from a template whose page is a pure function of time, render it on the real GPU, score it, and correct it in measured rounds until the tables pass and the stills look right.

Where this sits in the pipeline

The suite runs story-script -> frame-design -> motion-pack (+ spec-to-loop, Blender plates) -> motion-stack -> social-video.

  • Inputs: a spec.md written from brief.md, or from a shot in shotlist.json / plan.json that calls for a computed loop. design.json from frame-design supplies the accent hex (rim and emissive colours, calibrated by pixel probe), the display font (bake it with scripts/ttf2typeface.py) and the look.
  • Outputs: out/<name>.mp4 (single loop), out/<name>-x2.mp4 (two loops), the master WAV, qa/ (stills, contact sheets, JSON reports) and the project's LEARNINGS.md. motion-pack composites the MP4 as a plate, or social-video posts it as a loop.

When to use (and when not)

Installs
2
GitHub Stars
7
First Seen
11 days ago