@anvpx/motion 0.1.19 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -9
- package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/motion-kit/README.md +3 -3
- package/plugins/motion-kit/commands/mk-draft.md +2 -2
- package/plugins/motion-kit/commands/mk-new.md +4 -4
- package/plugins/motion-kit/commands/mk-render.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +4 -5
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +165 -0
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +7 -0
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +16 -0
- package/skills/motion-kit/SKILL.md +4 -5
- package/skills/motion-kit/references/amplify.md +165 -0
- package/skills/motion-kit/references/common-mistakes.md +1 -1
- package/skills/motion-kit/references/intake.md +7 -0
- package/skills/motion-kit/references/patterns.md +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvpx/motion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Storyboard JSON to animated video, rendered locally with HyperFrames: the mk CLI plus the full pipeline.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "anvpx",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"@fontsource/jetbrains-mono": "5.3.0",
|
|
57
57
|
"@fontsource/source-serif-4": "5.3.1",
|
|
58
58
|
"@fontsource/space-grotesk": "5.3.0",
|
|
59
|
-
"@anvpx/motion-assets": "0.1.
|
|
60
|
-
"@anvpx/motion-audio": "0.1.
|
|
61
|
-
"@anvpx/motion-build": "0.1.
|
|
62
|
-
"@anvpx/motion-cli": "0.1.
|
|
63
|
-
"@anvpx/motion-scenes": "0.1.
|
|
64
|
-
"@anvpx/motion-schema": "0.1.
|
|
65
|
-
"@anvpx/motion-templates": "0.1.
|
|
66
|
-
"@anvpx/motion-themes": "0.1.
|
|
59
|
+
"@anvpx/motion-assets": "0.1.21",
|
|
60
|
+
"@anvpx/motion-audio": "0.1.21",
|
|
61
|
+
"@anvpx/motion-build": "0.1.21",
|
|
62
|
+
"@anvpx/motion-cli": "0.1.21",
|
|
63
|
+
"@anvpx/motion-scenes": "0.1.21",
|
|
64
|
+
"@anvpx/motion-schema": "0.1.21",
|
|
65
|
+
"@anvpx/motion-templates": "0.1.21",
|
|
66
|
+
"@anvpx/motion-themes": "0.1.21",
|
|
67
67
|
"hyperframes": "0.8.212",
|
|
68
68
|
"postprocessing": "6.39.5",
|
|
69
69
|
"three": "0.186.0",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Plugin root: `plugins/motion-kit/` (chosen over a top-level `motion-kit-plugin/`
|
|
4
4
|
folder name used by the plugin packaging convention;
|
|
5
|
-
`npx -y @anvpx/motion@0.1.
|
|
5
|
+
`npx -y @anvpx/motion@0.1.21 plugin install` copies this exact folder).
|
|
6
6
|
|
|
7
7
|
## Layout
|
|
8
8
|
|
|
9
9
|
- `.claude-plugin/plugin.json` — manifest (`name`, `version`, `description` only;
|
|
10
10
|
version tracks `@anvpx/motion`).
|
|
11
11
|
- `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
|
|
12
|
-
calls `npx -y @anvpx/motion@0.1.
|
|
12
|
+
calls `npx -y @anvpx/motion@0.1.21` (pinned; never unpinned `npx`).
|
|
13
13
|
Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
|
|
14
14
|
- `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
|
|
15
15
|
scaffold; do not edit it here.
|
|
@@ -26,7 +26,7 @@ generates the core package's `skills/` and `plugins/` trees.
|
|
|
26
26
|
## Install
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx -y @anvpx/motion@0.1.
|
|
29
|
+
npx -y @anvpx/motion@0.1.21 plugin install --out ./motion-kit-plugin
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Verifies `skills/motion-kit/SKILL.md` sha256 matches after copy.
|
|
@@ -5,8 +5,8 @@ description: Preview a motion-kit storyboard (stills, contact sheet, draft clip)
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.21 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.21 approve storyboard.json --note "<user words>"
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 7-8 (preview, show + approve).
|
|
@@ -5,10 +5,10 @@ description: Start a motion-kit video (intake, brief, template pick, storyboard)
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
10
|
-
npx -y @anvpx/motion@0.1.
|
|
11
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.21 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.21 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.21 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.21 validate storyboard.json
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Follow `skills/motion-kit/SKILL.md` stages 1-6 (intake, brief, pick template,
|
|
@@ -5,8 +5,8 @@ description: Gated render of an approved motion-kit storyboard with verify
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.21 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.21 verify out/final.mp4 --storyboard storyboard.json
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 9-10 (patch, render). Exit 4 means
|
|
@@ -6,12 +6,12 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
6
6
|
|
|
7
7
|
# motion-kit: brief -> preview -> approved video
|
|
8
8
|
|
|
9
|
-
`mk` = `npx -y @anvpx/motion@0.1.
|
|
9
|
+
`mk` = `npx -y @anvpx/motion@0.1.21`; alias it once per shell, or use the npx prefix in its place. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after an explicit yes.
|
|
10
10
|
|
|
11
11
|
## Start here
|
|
12
12
|
|
|
13
13
|
1. `mk doctor` once; optional voice rows may be missing, required rows are not.
|
|
14
|
-
2. Extract supplied facts and constraints; ask only material gaps (max 3, with defaults). A complete brief is not a questionnaire (`references/intake.md`).
|
|
14
|
+
2. Extract supplied facts and constraints; ask only material gaps (max 3, with defaults). A complete brief is not a questionnaire (`references/intake.md`); a thin ask is amplified first (`references/amplify.md`).
|
|
15
15
|
3. `brief.md`: <= 8 facts, every number sourced. Design `direction.md` before choosing scenes (`references/direction.md`); resolve one craft question at a time (`references/knowledge-routing.md`). Send a <= 200-word outline and wait for "go" (`references/outline.md`).
|
|
16
16
|
4. Pick a route (below), instantiate, then `mk validate` until 0 errors. If `meta.theme` is not built-in (`default`, `dark`, `tech-dark`, `calm-dark`) and `themes/<name>.json` is absent, preview before calling this done. Storyboard-only request: stop here.
|
|
17
17
|
5. `mk preview --full` (add `--audio`/music when sound is in scope); open the printed `pack .../contact.png` and watch the full clip; ask. On yes only: `mk approve ...`, then `mk render ... --gated --verify`.
|
|
@@ -67,9 +67,8 @@ Design first, then choose template (`mk template list` -> `mk new`), direct (`re
|
|
|
67
67
|
For a professional film, explainer, product story or documentary segment, the
|
|
68
68
|
default is **3–5 minutes**; read `references/longform.md` and plan acts, a turn
|
|
69
69
|
and a recurring motif. A 20–75 s short is an explicit choice, not the default.
|
|
70
|
-
Use the user's length when given. `mk fit --seconds N` adjusts timing, not
|
|
71
|
-
|
|
72
|
-
create dead time.
|
|
70
|
+
Use the user's length when given. `mk fit --seconds N` adjusts timing, not depth: add beats with `mk scene add`
|
|
71
|
+
rather than stretching into dead time.
|
|
73
72
|
|
|
74
73
|
## Voice, music and captions (opt-in)
|
|
75
74
|
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Amplify a thin ask
|
|
2
|
+
|
|
3
|
+
An ask that names a subject and nothing else is not a small brief. It is a brief
|
|
4
|
+
whose decisions have been handed to the engine's defaults, and the defaults are
|
|
5
|
+
the same for every film.
|
|
6
|
+
|
|
7
|
+
Measured on 585 published prompt texts (`= ` short asks, `+ ` full prompts):
|
|
8
|
+
short asks state **none** of the five design decisions — colour, motion, layout,
|
|
9
|
+
typography, aspect — in **97.3 %** of cases. Full prompts do better and still
|
|
10
|
+
mostly abstain: **62.7 %** name at least one, only **26.4 %** name three or more.
|
|
11
|
+
The median full prompt is **1004** characters. Nobody is writing the decisions
|
|
12
|
+
down, which is why the pictures converge.
|
|
13
|
+
|
|
14
|
+
Amplification writes them down. It adds specifics to the user's sentence; it
|
|
15
|
+
never replaces the sentence.
|
|
16
|
+
|
|
17
|
+
## Run it when
|
|
18
|
+
|
|
19
|
+
The ask names a subject but no value: no colour, no layout, no aspect, no motion,
|
|
20
|
+
no type. "A 3D fish." "Something for our launch." "Explain our pricing."
|
|
21
|
+
|
|
22
|
+
Skip a slot the ask already answers, and never re-ask what was supplied
|
|
23
|
+
(`intake.md`). Extraction and amplification are different jobs: intake records
|
|
24
|
+
what is true; amplification proposes what is visible but unstated.
|
|
25
|
+
|
|
26
|
+
## Four rules, in order
|
|
27
|
+
|
|
28
|
+
1. **The ask wins.** Subject, count, action, audience and every claim in the
|
|
29
|
+
user's sentence are fixed. A proposal that would change the subject is
|
|
30
|
+
discarded, not negotiated.
|
|
31
|
+
2. **Propose detail, never facts.** An invented visual — a colour, a cap on its
|
|
32
|
+
head, a wet edge — is a proposal the user deletes by deleting a line. A
|
|
33
|
+
number, name, date, place, quote, logo or causal claim is not proposable: it
|
|
34
|
+
comes from the user or stays `placeholder` and is never rendered as fact.
|
|
35
|
+
3. **Resolve or drop.** Every proposed slot must map to a surface `mk catalog`
|
|
36
|
+
lists. If it does not, drop it and say what the film does instead. Never
|
|
37
|
+
promise an effect the engine lacks.
|
|
38
|
+
4. **One hero.** Exactly one moment is authored to be remembered. Everything else
|
|
39
|
+
supports it. Two hero moments is a film with none.
|
|
40
|
+
|
|
41
|
+
## The card
|
|
42
|
+
|
|
43
|
+
Mark rows: `=` the user supplied it, `+` you propose it, `!` you dropped it.
|
|
44
|
+
Copy this shape and fill it; twelve slots, two lines each.
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
= subject <the user's words, unedited>
|
|
48
|
+
+ particulars <colour, marking, one asymmetry>
|
|
49
|
+
+ world <where it sits, what receives it>
|
|
50
|
+
+ scale <one measurable reference in frame>
|
|
51
|
+
+ light <key direction, temperature, one motivated source>
|
|
52
|
+
+ camera <one move, named, with the reason it moves>
|
|
53
|
+
+ material <at most three surfaces, each answering light differently>
|
|
54
|
+
+ secondary <one ambient motion that never stops, one that reacts>
|
|
55
|
+
+ atmosphere <one depth cue that is not fog-for-fog>
|
|
56
|
+
+ action <the event, and its visible consequence>
|
|
57
|
+
+ hero <the one moment, at roughly which second, and why it survives mute>
|
|
58
|
+
+ sound <three layers, or "silent" as a decision>
|
|
59
|
+
+ exclusions <at least three habits this film will not use>
|
|
60
|
+
! drop <what the engine cannot do, and what replaces it>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Then the two derived lines, which are the part most often skipped:
|
|
64
|
+
|
|
65
|
+
- **Beat map** — the acts and their seconds, or "single take" with the reason.
|
|
66
|
+
- **Quality bar** — what good means on each axis, as a predicate (below).
|
|
67
|
+
|
|
68
|
+
Keep the card under about 1 400 characters: the median full prompt is 1004, and
|
|
69
|
+
a card longer than the film's outline is a document nobody reads.
|
|
70
|
+
|
|
71
|
+
## What each slot can become
|
|
72
|
+
|
|
73
|
+
The right-hand column is where the slot stops being prose. Any value not listed
|
|
74
|
+
is a drop, not a wish.
|
|
75
|
+
|
|
76
|
+
| Slot | Fills with | Surfaces |
|
|
77
|
+
| ---------- | ------------------------------------------------ | ----------------------------------------------------------------------------- |
|
|
78
|
+
| Subject | colour, marking, one asymmetry | `mk catalog`; theme tokens; `material` `clay gloss metal emissive glass wire` |
|
|
79
|
+
| World | the place and the surface receiving the subject | `stage` `diorama plinth grid floor`, `layout film`, depth bands |
|
|
80
|
+
| Scale | one reference a viewer can measure | `compare`, `annotate span`, contact shadow direction |
|
|
81
|
+
| Light | key direction, temperature, one motivated source | `light`, `volumetric off soft dense`, `reflector`, `hdri` |
|
|
82
|
+
| Camera | one named move and its end state | `camera` `orbit dolly crane push macro high low static` |
|
|
83
|
+
| Material | ≤3 surfaces, each answering light differently | `material`, `pair-material`, `post` |
|
|
84
|
+
| Secondary | ambient motion plus reactive motion | `move`, `transition`, overlay timing |
|
|
85
|
+
| Atmosphere | one depth cue, not fog-for-fog | `volumetric`, `depth`, `hdri`, `post` grain |
|
|
86
|
+
| Action | the event and its consequence | beats: `mk scene add`, `mk fit --seconds` |
|
|
87
|
+
| Hero | one moment, its second, its mute test | one scene beat, one authored accent |
|
|
88
|
+
| Sound | three layers or silence | `mk voice`, a music mood, `--music-volume` |
|
|
89
|
+
| Exclusions | ≥3 habits rejected, with reasons | the direction note (`direction.md`) |
|
|
90
|
+
|
|
91
|
+
## The quality bar
|
|
92
|
+
|
|
93
|
+
"Polished" is not an instruction. Convert it into predicates a reviewer answers
|
|
94
|
+
pass or fail, in a still at delivery size.
|
|
95
|
+
|
|
96
|
+
| Axis | Good is |
|
|
97
|
+
| ---------- | ----------------------------------------------------------------------------- |
|
|
98
|
+
| Light | every cast shadow agrees with the one key; nothing is lit from two directions |
|
|
99
|
+
| Material | two surfaces separate in grayscale, not only in hue |
|
|
100
|
+
| Depth | near, subject and far never share a value |
|
|
101
|
+
| Motion | no frame is static, and the reactive motion starts after its cause |
|
|
102
|
+
| Land | watched muted, the hero frame is nameable in one sentence |
|
|
103
|
+
| Restraint | the exclusions are visibly honoured in the busiest frame |
|
|
104
|
+
| Legibility | any type survives at 390 px wide |
|
|
105
|
+
|
|
106
|
+
## Other genres
|
|
107
|
+
|
|
108
|
+
Same twelve slots, different fills. This is what stops the card becoming a 3D toy.
|
|
109
|
+
|
|
110
|
+
| Genre | World | Light | Material | Action | Hero |
|
|
111
|
+
| --------- | -------------------------------------- | -------------------------- | --------------------------- | ------------------------- | ----------------------------- |
|
|
112
|
+
| Fictional | the place and its air | key + one motivated source | a surface per object class | the physical event | the moment the world reacts |
|
|
113
|
+
| Factual | the chart field and its axis treatment | value contrast, one accent | flat ink, one texture plate | the quantity moving | the one number that lands |
|
|
114
|
+
| Brand | the surface it is presented on | product-lit, one specular | the product's own material | the affordance being used | first contact or first reveal |
|
|
115
|
+
| Process | the workspace | even, no drama | line weights | the step completing | the state change |
|
|
116
|
+
|
|
117
|
+
In factual work rule 2 does the work: a hero moment may never be an invented
|
|
118
|
+
number, and `exclusions` must include "a statistic with no source".
|
|
119
|
+
|
|
120
|
+
## Worked example
|
|
121
|
+
|
|
122
|
+
`a ring` — three words, nothing else. Every `+` row below resolves to a surface
|
|
123
|
+
`mk catalog scene3d` lists; the `!` row shows the drop.
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
= subject a ring
|
|
127
|
+
+ particulars a plain gold band; the wear is one flattened facet
|
|
128
|
+
+ world a machined plinth on a dark floor; nothing else in frame
|
|
129
|
+
+ scale a caption reading 17 mm beside the band; size comes from the plinth
|
|
130
|
+
and the caption, not from a ruler
|
|
131
|
+
+ light one hard key from back-left, one white fill card right, no rim light
|
|
132
|
+
+ camera orbit for eight seconds so the band reads as round, then a macro push
|
|
133
|
+
that ends with the flat facet filling a third of the frame
|
|
134
|
+
+ material polished gold, one material for the whole band: wear shows as the
|
|
135
|
+
highlight stretching over the flat facet
|
|
136
|
+
+ secondary the band turns a quarter-turn against a fixed light, so the highlight
|
|
137
|
+
travels along the ring while the camera holds
|
|
138
|
+
+ atmosphere volumetric soft: the key reads as a shaft; no fog, no bloom
|
|
139
|
+
+ action the camera closes from the whole band to the facet; the highlight
|
|
140
|
+
stretches as it closes
|
|
141
|
+
+ hero at about 0:26, the highlight stops travelling and holds on the facet
|
|
142
|
+
+ sound room tone, one low bowed note on the hold, no voice
|
|
143
|
+
+ exclusions no blueprint grid, no callout arrows, no logo, no glow
|
|
144
|
+
! drop a measured caliper: the span tool reads the gap between two bodies
|
|
145
|
+
and this film has one, so its readout would print 0.0
|
|
146
|
+
! drop a matte facet, a different finish per face: material is per object,
|
|
147
|
+
so wear is shown by the highlight instead of a second finish
|
|
148
|
+
! drop engraved text on the band: nothing puts type on a curved surface, so
|
|
149
|
+
the caption carries the words
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
The beat map is two acts — the whole, then the facet — at eighteen seconds each,
|
|
153
|
+
and the quality-bar rows are the seven in the table above. Two drops in one example
|
|
154
|
+
is the normal case, not a failure: the card is honest about the three things the
|
|
155
|
+
engine cannot do so the film never pretends.
|
|
156
|
+
|
|
157
|
+
## Never
|
|
158
|
+
|
|
159
|
+
- Invent a number, name, date, quote, logo or right. Rule 2 has no exceptions.
|
|
160
|
+
- Change the subject, its count or its action to make a better picture.
|
|
161
|
+
- Fill a slot with an adjective. "Cinematic lighting" is an empty row; "one hard
|
|
162
|
+
key from back-left" is a row.
|
|
163
|
+
- Propose two hero moments, or three effects, to compensate for a weak
|
|
164
|
+
composition.
|
|
165
|
+
- Promise a surface the catalog does not list. Name the drop instead.
|
|
@@ -54,7 +54,7 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
|
|
|
54
54
|
| `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
|
|
55
55
|
| `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
|
|
56
56
|
| `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
|
|
57
|
-
| `npx -y @anvpx/motion@0.1.
|
|
57
|
+
| `npx -y @anvpx/motion@0.1.21` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
|
|
58
58
|
|
|
59
59
|
## Windows
|
|
60
60
|
|
|
@@ -37,6 +37,13 @@ exists. Ranking is keyword-driven, not a design decision: hard filters
|
|
|
37
37
|
(`--aspect`, `--sec`) are authoritative, then choose by structure, length,
|
|
38
38
|
aspect and copy fit.
|
|
39
39
|
|
|
40
|
+
## When the ask is thin
|
|
41
|
+
|
|
42
|
+
An ask that names a subject and nothing else has handed its decisions to the
|
|
43
|
+
engine's defaults. Do not ask the user to answer twelve questions: expand the ask
|
|
44
|
+
yourself into the card in `amplify.md`, mark every row you proposed, and show it
|
|
45
|
+
with the outline. The user deletes a line they dislike; the film is still theirs.
|
|
46
|
+
|
|
40
47
|
An original brief does not need a template search and must not be turned into a
|
|
41
48
|
menu. Templates help repeat an approved system; they do not define the creative
|
|
42
49
|
space. If a required fact does not fit a slot, do not truncate or drop it:
|
|
@@ -42,6 +42,22 @@ bouncy easing · particle bursts · glows · gradients on chrome · mismatched i
|
|
|
42
42
|
- **[B]** The source suggests motion-led cuts every 0.3-2.3 s and 0.6-1.4 s end holds. Cuts on rest, long holds and other tempos can serve the brief; preview reading and closure rather than adopting these ranges automatically.
|
|
43
43
|
- **[C]** If it loops, the last frame equals the first — cursor included.
|
|
44
44
|
|
|
45
|
+
## What a thin ask leaves out
|
|
46
|
+
|
|
47
|
+
Measured over 585 published prompt texts: short asks state **none** of the five
|
|
48
|
+
design decisions — colour, motion, layout, typography, aspect — in **97.3 %** of
|
|
49
|
+
cases, and even full prompts name three or more in only **26.4 %**. The median
|
|
50
|
+
full prompt is **1004** characters, so this is not a length problem.
|
|
51
|
+
|
|
52
|
+
- **[B]** Treat a subject-only ask as a brief whose decisions are currently the
|
|
53
|
+
engine's defaults. Expand it into the twelve slots in `amplify.md` and show the
|
|
54
|
+
card beside the outline, so the user deletes a line rather than answering twelve
|
|
55
|
+
questions.
|
|
56
|
+
- **[B]** Fill colour, layout and motion in the same pass or drop all three: in the
|
|
57
|
+
corpus they travel together (φ 0.43-0.46). One of them alone reads as a default.
|
|
58
|
+
- **[C]** Prefer one named value per slot to three adjectives: a hex, a
|
|
59
|
+
millimetre, a second, a direction, a lens.
|
|
60
|
+
|
|
45
61
|
## Before the full render
|
|
46
62
|
|
|
47
63
|
- **[A]** One still per beat: `mk still storyboard.json --at <beats>`. Fix cramped or off-grid frames there, never after.
|
|
@@ -6,12 +6,12 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
6
6
|
|
|
7
7
|
# motion-kit: brief -> preview -> approved video
|
|
8
8
|
|
|
9
|
-
`mk` = `npx -y @anvpx/motion@0.1.
|
|
9
|
+
`mk` = `npx -y @anvpx/motion@0.1.21`; alias it once per shell, or use the npx prefix in its place. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after an explicit yes.
|
|
10
10
|
|
|
11
11
|
## Start here
|
|
12
12
|
|
|
13
13
|
1. `mk doctor` once; optional voice rows may be missing, required rows are not.
|
|
14
|
-
2. Extract supplied facts and constraints; ask only material gaps (max 3, with defaults). A complete brief is not a questionnaire (`references/intake.md`).
|
|
14
|
+
2. Extract supplied facts and constraints; ask only material gaps (max 3, with defaults). A complete brief is not a questionnaire (`references/intake.md`); a thin ask is amplified first (`references/amplify.md`).
|
|
15
15
|
3. `brief.md`: <= 8 facts, every number sourced. Design `direction.md` before choosing scenes (`references/direction.md`); resolve one craft question at a time (`references/knowledge-routing.md`). Send a <= 200-word outline and wait for "go" (`references/outline.md`).
|
|
16
16
|
4. Pick a route (below), instantiate, then `mk validate` until 0 errors. If `meta.theme` is not built-in (`default`, `dark`, `tech-dark`, `calm-dark`) and `themes/<name>.json` is absent, preview before calling this done. Storyboard-only request: stop here.
|
|
17
17
|
5. `mk preview --full` (add `--audio`/music when sound is in scope); open the printed `pack .../contact.png` and watch the full clip; ask. On yes only: `mk approve ...`, then `mk render ... --gated --verify`.
|
|
@@ -67,9 +67,8 @@ Design first, then choose template (`mk template list` -> `mk new`), direct (`re
|
|
|
67
67
|
For a professional film, explainer, product story or documentary segment, the
|
|
68
68
|
default is **3–5 minutes**; read `references/longform.md` and plan acts, a turn
|
|
69
69
|
and a recurring motif. A 20–75 s short is an explicit choice, not the default.
|
|
70
|
-
Use the user's length when given. `mk fit --seconds N` adjusts timing, not
|
|
71
|
-
|
|
72
|
-
create dead time.
|
|
70
|
+
Use the user's length when given. `mk fit --seconds N` adjusts timing, not depth: add beats with `mk scene add`
|
|
71
|
+
rather than stretching into dead time.
|
|
73
72
|
|
|
74
73
|
## Voice, music and captions (opt-in)
|
|
75
74
|
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Amplify a thin ask
|
|
2
|
+
|
|
3
|
+
An ask that names a subject and nothing else is not a small brief. It is a brief
|
|
4
|
+
whose decisions have been handed to the engine's defaults, and the defaults are
|
|
5
|
+
the same for every film.
|
|
6
|
+
|
|
7
|
+
Measured on 585 published prompt texts (`= ` short asks, `+ ` full prompts):
|
|
8
|
+
short asks state **none** of the five design decisions — colour, motion, layout,
|
|
9
|
+
typography, aspect — in **97.3 %** of cases. Full prompts do better and still
|
|
10
|
+
mostly abstain: **62.7 %** name at least one, only **26.4 %** name three or more.
|
|
11
|
+
The median full prompt is **1004** characters. Nobody is writing the decisions
|
|
12
|
+
down, which is why the pictures converge.
|
|
13
|
+
|
|
14
|
+
Amplification writes them down. It adds specifics to the user's sentence; it
|
|
15
|
+
never replaces the sentence.
|
|
16
|
+
|
|
17
|
+
## Run it when
|
|
18
|
+
|
|
19
|
+
The ask names a subject but no value: no colour, no layout, no aspect, no motion,
|
|
20
|
+
no type. "A 3D fish." "Something for our launch." "Explain our pricing."
|
|
21
|
+
|
|
22
|
+
Skip a slot the ask already answers, and never re-ask what was supplied
|
|
23
|
+
(`intake.md`). Extraction and amplification are different jobs: intake records
|
|
24
|
+
what is true; amplification proposes what is visible but unstated.
|
|
25
|
+
|
|
26
|
+
## Four rules, in order
|
|
27
|
+
|
|
28
|
+
1. **The ask wins.** Subject, count, action, audience and every claim in the
|
|
29
|
+
user's sentence are fixed. A proposal that would change the subject is
|
|
30
|
+
discarded, not negotiated.
|
|
31
|
+
2. **Propose detail, never facts.** An invented visual — a colour, a cap on its
|
|
32
|
+
head, a wet edge — is a proposal the user deletes by deleting a line. A
|
|
33
|
+
number, name, date, place, quote, logo or causal claim is not proposable: it
|
|
34
|
+
comes from the user or stays `placeholder` and is never rendered as fact.
|
|
35
|
+
3. **Resolve or drop.** Every proposed slot must map to a surface `mk catalog`
|
|
36
|
+
lists. If it does not, drop it and say what the film does instead. Never
|
|
37
|
+
promise an effect the engine lacks.
|
|
38
|
+
4. **One hero.** Exactly one moment is authored to be remembered. Everything else
|
|
39
|
+
supports it. Two hero moments is a film with none.
|
|
40
|
+
|
|
41
|
+
## The card
|
|
42
|
+
|
|
43
|
+
Mark rows: `=` the user supplied it, `+` you propose it, `!` you dropped it.
|
|
44
|
+
Copy this shape and fill it; twelve slots, two lines each.
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
= subject <the user's words, unedited>
|
|
48
|
+
+ particulars <colour, marking, one asymmetry>
|
|
49
|
+
+ world <where it sits, what receives it>
|
|
50
|
+
+ scale <one measurable reference in frame>
|
|
51
|
+
+ light <key direction, temperature, one motivated source>
|
|
52
|
+
+ camera <one move, named, with the reason it moves>
|
|
53
|
+
+ material <at most three surfaces, each answering light differently>
|
|
54
|
+
+ secondary <one ambient motion that never stops, one that reacts>
|
|
55
|
+
+ atmosphere <one depth cue that is not fog-for-fog>
|
|
56
|
+
+ action <the event, and its visible consequence>
|
|
57
|
+
+ hero <the one moment, at roughly which second, and why it survives mute>
|
|
58
|
+
+ sound <three layers, or "silent" as a decision>
|
|
59
|
+
+ exclusions <at least three habits this film will not use>
|
|
60
|
+
! drop <what the engine cannot do, and what replaces it>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Then the two derived lines, which are the part most often skipped:
|
|
64
|
+
|
|
65
|
+
- **Beat map** — the acts and their seconds, or "single take" with the reason.
|
|
66
|
+
- **Quality bar** — what good means on each axis, as a predicate (below).
|
|
67
|
+
|
|
68
|
+
Keep the card under about 1 400 characters: the median full prompt is 1004, and
|
|
69
|
+
a card longer than the film's outline is a document nobody reads.
|
|
70
|
+
|
|
71
|
+
## What each slot can become
|
|
72
|
+
|
|
73
|
+
The right-hand column is where the slot stops being prose. Any value not listed
|
|
74
|
+
is a drop, not a wish.
|
|
75
|
+
|
|
76
|
+
| Slot | Fills with | Surfaces |
|
|
77
|
+
| ---------- | ------------------------------------------------ | ----------------------------------------------------------------------------- |
|
|
78
|
+
| Subject | colour, marking, one asymmetry | `mk catalog`; theme tokens; `material` `clay gloss metal emissive glass wire` |
|
|
79
|
+
| World | the place and the surface receiving the subject | `stage` `diorama plinth grid floor`, `layout film`, depth bands |
|
|
80
|
+
| Scale | one reference a viewer can measure | `compare`, `annotate span`, contact shadow direction |
|
|
81
|
+
| Light | key direction, temperature, one motivated source | `light`, `volumetric off soft dense`, `reflector`, `hdri` |
|
|
82
|
+
| Camera | one named move and its end state | `camera` `orbit dolly crane push macro high low static` |
|
|
83
|
+
| Material | ≤3 surfaces, each answering light differently | `material`, `pair-material`, `post` |
|
|
84
|
+
| Secondary | ambient motion plus reactive motion | `move`, `transition`, overlay timing |
|
|
85
|
+
| Atmosphere | one depth cue, not fog-for-fog | `volumetric`, `depth`, `hdri`, `post` grain |
|
|
86
|
+
| Action | the event and its consequence | beats: `mk scene add`, `mk fit --seconds` |
|
|
87
|
+
| Hero | one moment, its second, its mute test | one scene beat, one authored accent |
|
|
88
|
+
| Sound | three layers or silence | `mk voice`, a music mood, `--music-volume` |
|
|
89
|
+
| Exclusions | ≥3 habits rejected, with reasons | the direction note (`direction.md`) |
|
|
90
|
+
|
|
91
|
+
## The quality bar
|
|
92
|
+
|
|
93
|
+
"Polished" is not an instruction. Convert it into predicates a reviewer answers
|
|
94
|
+
pass or fail, in a still at delivery size.
|
|
95
|
+
|
|
96
|
+
| Axis | Good is |
|
|
97
|
+
| ---------- | ----------------------------------------------------------------------------- |
|
|
98
|
+
| Light | every cast shadow agrees with the one key; nothing is lit from two directions |
|
|
99
|
+
| Material | two surfaces separate in grayscale, not only in hue |
|
|
100
|
+
| Depth | near, subject and far never share a value |
|
|
101
|
+
| Motion | no frame is static, and the reactive motion starts after its cause |
|
|
102
|
+
| Land | watched muted, the hero frame is nameable in one sentence |
|
|
103
|
+
| Restraint | the exclusions are visibly honoured in the busiest frame |
|
|
104
|
+
| Legibility | any type survives at 390 px wide |
|
|
105
|
+
|
|
106
|
+
## Other genres
|
|
107
|
+
|
|
108
|
+
Same twelve slots, different fills. This is what stops the card becoming a 3D toy.
|
|
109
|
+
|
|
110
|
+
| Genre | World | Light | Material | Action | Hero |
|
|
111
|
+
| --------- | -------------------------------------- | -------------------------- | --------------------------- | ------------------------- | ----------------------------- |
|
|
112
|
+
| Fictional | the place and its air | key + one motivated source | a surface per object class | the physical event | the moment the world reacts |
|
|
113
|
+
| Factual | the chart field and its axis treatment | value contrast, one accent | flat ink, one texture plate | the quantity moving | the one number that lands |
|
|
114
|
+
| Brand | the surface it is presented on | product-lit, one specular | the product's own material | the affordance being used | first contact or first reveal |
|
|
115
|
+
| Process | the workspace | even, no drama | line weights | the step completing | the state change |
|
|
116
|
+
|
|
117
|
+
In factual work rule 2 does the work: a hero moment may never be an invented
|
|
118
|
+
number, and `exclusions` must include "a statistic with no source".
|
|
119
|
+
|
|
120
|
+
## Worked example
|
|
121
|
+
|
|
122
|
+
`a ring` — three words, nothing else. Every `+` row below resolves to a surface
|
|
123
|
+
`mk catalog scene3d` lists; the `!` row shows the drop.
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
= subject a ring
|
|
127
|
+
+ particulars a plain gold band; the wear is one flattened facet
|
|
128
|
+
+ world a machined plinth on a dark floor; nothing else in frame
|
|
129
|
+
+ scale a caption reading 17 mm beside the band; size comes from the plinth
|
|
130
|
+
and the caption, not from a ruler
|
|
131
|
+
+ light one hard key from back-left, one white fill card right, no rim light
|
|
132
|
+
+ camera orbit for eight seconds so the band reads as round, then a macro push
|
|
133
|
+
that ends with the flat facet filling a third of the frame
|
|
134
|
+
+ material polished gold, one material for the whole band: wear shows as the
|
|
135
|
+
highlight stretching over the flat facet
|
|
136
|
+
+ secondary the band turns a quarter-turn against a fixed light, so the highlight
|
|
137
|
+
travels along the ring while the camera holds
|
|
138
|
+
+ atmosphere volumetric soft: the key reads as a shaft; no fog, no bloom
|
|
139
|
+
+ action the camera closes from the whole band to the facet; the highlight
|
|
140
|
+
stretches as it closes
|
|
141
|
+
+ hero at about 0:26, the highlight stops travelling and holds on the facet
|
|
142
|
+
+ sound room tone, one low bowed note on the hold, no voice
|
|
143
|
+
+ exclusions no blueprint grid, no callout arrows, no logo, no glow
|
|
144
|
+
! drop a measured caliper: the span tool reads the gap between two bodies
|
|
145
|
+
and this film has one, so its readout would print 0.0
|
|
146
|
+
! drop a matte facet, a different finish per face: material is per object,
|
|
147
|
+
so wear is shown by the highlight instead of a second finish
|
|
148
|
+
! drop engraved text on the band: nothing puts type on a curved surface, so
|
|
149
|
+
the caption carries the words
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
The beat map is two acts — the whole, then the facet — at eighteen seconds each,
|
|
153
|
+
and the quality-bar rows are the seven in the table above. Two drops in one example
|
|
154
|
+
is the normal case, not a failure: the card is honest about the three things the
|
|
155
|
+
engine cannot do so the film never pretends.
|
|
156
|
+
|
|
157
|
+
## Never
|
|
158
|
+
|
|
159
|
+
- Invent a number, name, date, quote, logo or right. Rule 2 has no exceptions.
|
|
160
|
+
- Change the subject, its count or its action to make a better picture.
|
|
161
|
+
- Fill a slot with an adjective. "Cinematic lighting" is an empty row; "one hard
|
|
162
|
+
key from back-left" is a row.
|
|
163
|
+
- Propose two hero moments, or three effects, to compensate for a weak
|
|
164
|
+
composition.
|
|
165
|
+
- Promise a surface the catalog does not list. Name the drop instead.
|
|
@@ -54,7 +54,7 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
|
|
|
54
54
|
| `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
|
|
55
55
|
| `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
|
|
56
56
|
| `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
|
|
57
|
-
| `npx -y @anvpx/motion@0.1.
|
|
57
|
+
| `npx -y @anvpx/motion@0.1.21` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
|
|
58
58
|
|
|
59
59
|
## Windows
|
|
60
60
|
|
|
@@ -37,6 +37,13 @@ exists. Ranking is keyword-driven, not a design decision: hard filters
|
|
|
37
37
|
(`--aspect`, `--sec`) are authoritative, then choose by structure, length,
|
|
38
38
|
aspect and copy fit.
|
|
39
39
|
|
|
40
|
+
## When the ask is thin
|
|
41
|
+
|
|
42
|
+
An ask that names a subject and nothing else has handed its decisions to the
|
|
43
|
+
engine's defaults. Do not ask the user to answer twelve questions: expand the ask
|
|
44
|
+
yourself into the card in `amplify.md`, mark every row you proposed, and show it
|
|
45
|
+
with the outline. The user deletes a line they dislike; the film is still theirs.
|
|
46
|
+
|
|
40
47
|
An original brief does not need a template search and must not be turned into a
|
|
41
48
|
menu. Templates help repeat an approved system; they do not define the creative
|
|
42
49
|
space. If a required fact does not fit a slot, do not truncate or drop it:
|
|
@@ -42,6 +42,22 @@ bouncy easing · particle bursts · glows · gradients on chrome · mismatched i
|
|
|
42
42
|
- **[B]** The source suggests motion-led cuts every 0.3-2.3 s and 0.6-1.4 s end holds. Cuts on rest, long holds and other tempos can serve the brief; preview reading and closure rather than adopting these ranges automatically.
|
|
43
43
|
- **[C]** If it loops, the last frame equals the first — cursor included.
|
|
44
44
|
|
|
45
|
+
## What a thin ask leaves out
|
|
46
|
+
|
|
47
|
+
Measured over 585 published prompt texts: short asks state **none** of the five
|
|
48
|
+
design decisions — colour, motion, layout, typography, aspect — in **97.3 %** of
|
|
49
|
+
cases, and even full prompts name three or more in only **26.4 %**. The median
|
|
50
|
+
full prompt is **1004** characters, so this is not a length problem.
|
|
51
|
+
|
|
52
|
+
- **[B]** Treat a subject-only ask as a brief whose decisions are currently the
|
|
53
|
+
engine's defaults. Expand it into the twelve slots in `amplify.md` and show the
|
|
54
|
+
card beside the outline, so the user deletes a line rather than answering twelve
|
|
55
|
+
questions.
|
|
56
|
+
- **[B]** Fill colour, layout and motion in the same pass or drop all three: in the
|
|
57
|
+
corpus they travel together (φ 0.43-0.46). One of them alone reads as a default.
|
|
58
|
+
- **[C]** Prefer one named value per slot to three adjectives: a hex, a
|
|
59
|
+
millimetre, a second, a direction, a lens.
|
|
60
|
+
|
|
45
61
|
## Before the full render
|
|
46
62
|
|
|
47
63
|
- **[A]** One still per beat: `mk still storyboard.json --at <beats>`. Fix cramped or off-grid frames there, never after.
|