@anvpx/motion 0.1.22 → 0.1.24
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/CATALOG.md +13 -0
- 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 +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +30 -12
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +35 -20
- package/skills/motion-kit/SKILL.md +1 -1
- package/skills/motion-kit/references/amplify.md +30 -12
- package/skills/motion-kit/references/common-mistakes.md +1 -1
- package/skills/motion-kit/references/scene-recipes.md +35 -20
package/CATALOG.md
CHANGED
|
@@ -30,6 +30,7 @@ kinetic | base | One word or short phrase per beat at full screen (slam, stack o
|
|
|
30
30
|
code | base | Code or terminal text typed or revealed line by line, with highlighted lines and +/- diff lines. | lines
|
|
31
31
|
kpi-grid | base | 2-6 headline numbers side by side, each with label, unit, change and trend arrow (good=down when a fall is good); values count up. | items
|
|
32
32
|
chart | base | Animated bar, line or donut chart for ranking, trend or share, with values shown and an optional highlight. | kind
|
|
33
|
+
stair | base | Two series over time: compound growth as annual steps and the same deposit earning simple interest as a straight line, with the year the gap reaches one deposit marked. | title
|
|
33
34
|
table | base | Small data table or ranked list (2-5 columns, 2-8 rows) with row-by-row reveal and one optional highlighted row. | columns,rows
|
|
34
35
|
scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|bare (where the copy lives), camera orbit|dolly|crane|push|macro|high|low|static, depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
|
|
35
36
|
sticker | base | Pop-comic sticker slam: 1-5 short phrases slam in with outline type, tilt and a starburst; for hooks, myth-vs-fact and punchy shorts. | words
|
|
@@ -263,6 +264,18 @@ chart (base): Animated bar, line or donut chart for ranking, trend or share, wit
|
|
|
263
264
|
props: {"kind":"bar","title":"Signups by channel","data":[{"label":"Search","value":420},{"label":"Referral","value":310},{"label":"Social","value":190}],"highlight":0}
|
|
264
265
|
```
|
|
265
266
|
|
|
267
|
+
```
|
|
268
|
+
stair (base): Two series over time: compound growth as annual steps and the same deposit earning simple interest as a straight line, with the year the gap reaches one deposit marked.
|
|
269
|
+
title * text
|
|
270
|
+
caption text
|
|
271
|
+
start number = 1000
|
|
272
|
+
rate number ..100 = 6
|
|
273
|
+
years int 2..40 = 30
|
|
274
|
+
unit text
|
|
275
|
+
wire boolean = true
|
|
276
|
+
props: {"title":"A rate, held","start":1000,"rate":6,"years":30,"unit":"$"}
|
|
277
|
+
```
|
|
278
|
+
|
|
266
279
|
```
|
|
267
280
|
table (base): Small data table or ranked list (2-5 columns, 2-8 rows) with row-by-row reveal and one optional highlighted row.
|
|
268
281
|
title text
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvpx/motion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
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.24",
|
|
60
|
+
"@anvpx/motion-audio": "0.1.24",
|
|
61
|
+
"@anvpx/motion-build": "0.1.24",
|
|
62
|
+
"@anvpx/motion-cli": "0.1.24",
|
|
63
|
+
"@anvpx/motion-scenes": "0.1.24",
|
|
64
|
+
"@anvpx/motion-schema": "0.1.24",
|
|
65
|
+
"@anvpx/motion-templates": "0.1.24",
|
|
66
|
+
"@anvpx/motion-themes": "0.1.24",
|
|
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.24 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.24` (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.24 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.24 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.24 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.24 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.24 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.24 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.24 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.24 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.24 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,7 +6,7 @@ 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.24`; 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
|
|
|
@@ -41,10 +41,11 @@ what is true; amplification proposes what is visible but unstated.
|
|
|
41
41
|
## The card
|
|
42
42
|
|
|
43
43
|
Mark rows: `=` the user supplied it, `+` you propose it, `!` you dropped it.
|
|
44
|
-
Copy this shape and fill it;
|
|
44
|
+
Copy this shape and fill it; two lines per row at most.
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
47
|
= subject <the user's words, unedited>
|
|
48
|
+
+ function <object | quantity | product | process: what the film is FOR>
|
|
48
49
|
+ particulars <colour, marking, one asymmetry>
|
|
49
50
|
+ world <where it sits, what receives it>
|
|
50
51
|
+ scale <one measurable reference in frame>
|
|
@@ -67,6 +68,31 @@ three — while the same model without the card supplied all three. A rule state
|
|
|
67
68
|
prose did not survive the form; a row in the form did. Invented assumptions belong
|
|
68
69
|
on that row, visible, not in a footnote nobody reads.
|
|
69
70
|
|
|
71
|
+
### Fill by function
|
|
72
|
+
|
|
73
|
+
The second row decides which slots matter. Name the function, then fill its column
|
|
74
|
+
before the others; the ones marked thin can stay brief.
|
|
75
|
+
|
|
76
|
+
| function | fill these first | may stay thin |
|
|
77
|
+
| -------- | ------------------------- | ------------- |
|
|
78
|
+
| object | light, material, camera | sound |
|
|
79
|
+
| quantity | scale, action, hero | material |
|
|
80
|
+
| product | material, light, camera | atmosphere |
|
|
81
|
+
| process | action, secondary, camera | light |
|
|
82
|
+
|
|
83
|
+
`quantity` is the fill the card used to get wrong. A film about a number has no
|
|
84
|
+
object to light or orbit, so the slots fill with a lens and a texture plate and the
|
|
85
|
+
result is a stock explainer — measured: it lost a full point to the bare skill on a
|
|
86
|
+
compound-interest brief, to all three reviewers. A quantity film is made of three
|
|
87
|
+
other things:
|
|
88
|
+
|
|
89
|
+
- **a legible unit** — one bar is one deposit, one tick is one year. Teach the unit
|
|
90
|
+
in the first seconds, then spend it.
|
|
91
|
+
- **a threshold staged as an event** — the month interest first exceeds the deposit
|
|
92
|
+
is two marks colliding, not a caption on a curve.
|
|
93
|
+
- **provenance on screen** — rate, term and assumption are stated, not implied by the
|
|
94
|
+
shape of a curve.
|
|
95
|
+
|
|
70
96
|
Then the two derived lines, which are the part most often skipped:
|
|
71
97
|
|
|
72
98
|
- **Beat map** — the acts and their seconds, or "single take" with the reason.
|
|
@@ -110,18 +136,10 @@ pass or fail, in a still at delivery size.
|
|
|
110
136
|
| Restraint | the exclusions are visibly honoured in the busiest frame |
|
|
111
137
|
| Legibility | any type survives at 390 px wide |
|
|
112
138
|
|
|
113
|
-
##
|
|
114
|
-
|
|
115
|
-
Same twelve slots, different fills. This is what stops the card becoming a 3D toy.
|
|
116
|
-
|
|
117
|
-
| Genre | World | Light | Material | Action | Hero |
|
|
118
|
-
| --------- | -------------------------------------- | -------------------------- | --------------------------- | ------------------------- | ----------------------------- |
|
|
119
|
-
| Fictional | the place and its air | key + one motivated source | a surface per object class | the physical event | the moment the world reacts |
|
|
120
|
-
| 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 |
|
|
121
|
-
| 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 |
|
|
122
|
-
| Process | the workspace | even, no drama | line weights | the step completing | the state change |
|
|
139
|
+
## In factual work
|
|
123
140
|
|
|
124
|
-
|
|
141
|
+
The function row carries the genre difference now, and the fill table above is the
|
|
142
|
+
whole of it. Rule 2 does the extra work here: a hero moment may never be an invented
|
|
125
143
|
number, and `exclusions` must include "a statistic with no source".
|
|
126
144
|
|
|
127
145
|
## Worked example
|
|
@@ -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.24` 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
|
|
|
@@ -8,26 +8,27 @@
|
|
|
8
8
|
|
|
9
9
|
## Pick by the shape of the message
|
|
10
10
|
|
|
11
|
-
| The beat is
|
|
12
|
-
|
|
|
13
|
-
| A hook, claim or section opener
|
|
14
|
-
| One number that carries the point
|
|
15
|
-
| Two to six numbers at a glance
|
|
16
|
-
| Trend, ranking or share
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
11
|
+
| The beat is | Use | Avoid |
|
|
12
|
+
| ---------------------------------------------- | --------------------------------------- | --------------------------------------- |
|
|
13
|
+
| A hook, claim or section opener | `title`, `poster`, `kinetic`, `sticker` | `bullets` for one claim |
|
|
14
|
+
| One number that carries the point | `stat` | `chart` for a single value |
|
|
15
|
+
| Two to six numbers at a glance | `kpi-grid` | a wall of `stat` scenes |
|
|
16
|
+
| Trend, ranking or share | `chart` | `table` when the shape is the message |
|
|
17
|
+
| A rate compounding year by year (12-40 points) | `stair` | `chart` when there are 2-8 categories |
|
|
18
|
+
| Exact values, a small ranked list | `table` | `chart` for two rows |
|
|
19
|
+
| An ordered procedure | `steps` | `flow` for a straight sequence |
|
|
20
|
+
| A system, dependencies or a decision path | `flow` | `timeline` when nothing is dated |
|
|
21
|
+
| Before/after, two options | `compare` | two separate `bullets` scenes |
|
|
22
|
+
| Features, benefits or categories | `icon-grid` | `bullets` with invented icons |
|
|
23
|
+
| History, roadmap, now/next | `timeline` | `steps` for dates |
|
|
24
|
+
| A quotation with attribution | `quote` | `callout` with a name |
|
|
25
|
+
| One rule, formula, definition or warning | `callout` | `bullets` for one sentence |
|
|
26
|
+
| A real screenshot or photo | `media-frame` | `scene3d` for a real screenshot |
|
|
27
|
+
| Code, terminal output or a diff | `code` | plain `bullets` |
|
|
28
|
+
| A product or object in 3D | `scene3d` | `media-frame` when the object must turn |
|
|
29
|
+
| An audio shape | `waveform` | `chart` for peaks |
|
|
30
|
+
| A name, logo, chapter, count or progress | an overlay | a whole base scene for a small chip |
|
|
31
|
+
| The close | `outro` | a second `title` at the end |
|
|
31
32
|
|
|
32
33
|
## Openers
|
|
33
34
|
|
|
@@ -316,3 +317,17 @@ For `caption`, `words` (voice timings) is better than `text`; `mk captions` buil
|
|
|
316
317
|
- `mk catalog` (no type) shows all 28 types and their required fields.
|
|
317
318
|
- One accent per scene, at most six words per line, and preferably no more than two overlays on one base scene; lint warns at three simultaneous overlays.
|
|
318
319
|
- If the message needs two of these shapes, split it into two scenes.
|
|
320
|
+
|
|
321
|
+
## `stair` versus `chart`
|
|
322
|
+
|
|
323
|
+
Both draw a series over time; the boundary is resolution and the marker.
|
|
324
|
+
|
|
325
|
+
- `chart` — 2-8 categories or up to 12 points, one to three series, `highlight` an
|
|
326
|
+
index. Use it for ranking, share, a short trend.
|
|
327
|
+
- `stair` — one bar per year for 12-40 years, plus the same deposit earning simple
|
|
328
|
+
interest as a line, and a marker at the year a **computed** threshold is crossed
|
|
329
|
+
(the gap first reaching one whole deposit). Use it when the argument is that a
|
|
330
|
+
rate compounds slowly and then suddenly, and the viewer must see the crossing.
|
|
331
|
+
|
|
332
|
+
The two do not overlap: `chart` cannot hold 30 points, and it cannot mark a value
|
|
333
|
+
the schema computes rather than an index the author picks.
|
|
@@ -6,7 +6,7 @@ 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.24`; 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
|
|
|
@@ -41,10 +41,11 @@ what is true; amplification proposes what is visible but unstated.
|
|
|
41
41
|
## The card
|
|
42
42
|
|
|
43
43
|
Mark rows: `=` the user supplied it, `+` you propose it, `!` you dropped it.
|
|
44
|
-
Copy this shape and fill it;
|
|
44
|
+
Copy this shape and fill it; two lines per row at most.
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
47
|
= subject <the user's words, unedited>
|
|
48
|
+
+ function <object | quantity | product | process: what the film is FOR>
|
|
48
49
|
+ particulars <colour, marking, one asymmetry>
|
|
49
50
|
+ world <where it sits, what receives it>
|
|
50
51
|
+ scale <one measurable reference in frame>
|
|
@@ -67,6 +68,31 @@ three — while the same model without the card supplied all three. A rule state
|
|
|
67
68
|
prose did not survive the form; a row in the form did. Invented assumptions belong
|
|
68
69
|
on that row, visible, not in a footnote nobody reads.
|
|
69
70
|
|
|
71
|
+
### Fill by function
|
|
72
|
+
|
|
73
|
+
The second row decides which slots matter. Name the function, then fill its column
|
|
74
|
+
before the others; the ones marked thin can stay brief.
|
|
75
|
+
|
|
76
|
+
| function | fill these first | may stay thin |
|
|
77
|
+
| -------- | ------------------------- | ------------- |
|
|
78
|
+
| object | light, material, camera | sound |
|
|
79
|
+
| quantity | scale, action, hero | material |
|
|
80
|
+
| product | material, light, camera | atmosphere |
|
|
81
|
+
| process | action, secondary, camera | light |
|
|
82
|
+
|
|
83
|
+
`quantity` is the fill the card used to get wrong. A film about a number has no
|
|
84
|
+
object to light or orbit, so the slots fill with a lens and a texture plate and the
|
|
85
|
+
result is a stock explainer — measured: it lost a full point to the bare skill on a
|
|
86
|
+
compound-interest brief, to all three reviewers. A quantity film is made of three
|
|
87
|
+
other things:
|
|
88
|
+
|
|
89
|
+
- **a legible unit** — one bar is one deposit, one tick is one year. Teach the unit
|
|
90
|
+
in the first seconds, then spend it.
|
|
91
|
+
- **a threshold staged as an event** — the month interest first exceeds the deposit
|
|
92
|
+
is two marks colliding, not a caption on a curve.
|
|
93
|
+
- **provenance on screen** — rate, term and assumption are stated, not implied by the
|
|
94
|
+
shape of a curve.
|
|
95
|
+
|
|
70
96
|
Then the two derived lines, which are the part most often skipped:
|
|
71
97
|
|
|
72
98
|
- **Beat map** — the acts and their seconds, or "single take" with the reason.
|
|
@@ -110,18 +136,10 @@ pass or fail, in a still at delivery size.
|
|
|
110
136
|
| Restraint | the exclusions are visibly honoured in the busiest frame |
|
|
111
137
|
| Legibility | any type survives at 390 px wide |
|
|
112
138
|
|
|
113
|
-
##
|
|
114
|
-
|
|
115
|
-
Same twelve slots, different fills. This is what stops the card becoming a 3D toy.
|
|
116
|
-
|
|
117
|
-
| Genre | World | Light | Material | Action | Hero |
|
|
118
|
-
| --------- | -------------------------------------- | -------------------------- | --------------------------- | ------------------------- | ----------------------------- |
|
|
119
|
-
| Fictional | the place and its air | key + one motivated source | a surface per object class | the physical event | the moment the world reacts |
|
|
120
|
-
| 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 |
|
|
121
|
-
| 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 |
|
|
122
|
-
| Process | the workspace | even, no drama | line weights | the step completing | the state change |
|
|
139
|
+
## In factual work
|
|
123
140
|
|
|
124
|
-
|
|
141
|
+
The function row carries the genre difference now, and the fill table above is the
|
|
142
|
+
whole of it. Rule 2 does the extra work here: a hero moment may never be an invented
|
|
125
143
|
number, and `exclusions` must include "a statistic with no source".
|
|
126
144
|
|
|
127
145
|
## Worked example
|
|
@@ -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.24` 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
|
|
|
@@ -8,26 +8,27 @@
|
|
|
8
8
|
|
|
9
9
|
## Pick by the shape of the message
|
|
10
10
|
|
|
11
|
-
| The beat is
|
|
12
|
-
|
|
|
13
|
-
| A hook, claim or section opener
|
|
14
|
-
| One number that carries the point
|
|
15
|
-
| Two to six numbers at a glance
|
|
16
|
-
| Trend, ranking or share
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
11
|
+
| The beat is | Use | Avoid |
|
|
12
|
+
| ---------------------------------------------- | --------------------------------------- | --------------------------------------- |
|
|
13
|
+
| A hook, claim or section opener | `title`, `poster`, `kinetic`, `sticker` | `bullets` for one claim |
|
|
14
|
+
| One number that carries the point | `stat` | `chart` for a single value |
|
|
15
|
+
| Two to six numbers at a glance | `kpi-grid` | a wall of `stat` scenes |
|
|
16
|
+
| Trend, ranking or share | `chart` | `table` when the shape is the message |
|
|
17
|
+
| A rate compounding year by year (12-40 points) | `stair` | `chart` when there are 2-8 categories |
|
|
18
|
+
| Exact values, a small ranked list | `table` | `chart` for two rows |
|
|
19
|
+
| An ordered procedure | `steps` | `flow` for a straight sequence |
|
|
20
|
+
| A system, dependencies or a decision path | `flow` | `timeline` when nothing is dated |
|
|
21
|
+
| Before/after, two options | `compare` | two separate `bullets` scenes |
|
|
22
|
+
| Features, benefits or categories | `icon-grid` | `bullets` with invented icons |
|
|
23
|
+
| History, roadmap, now/next | `timeline` | `steps` for dates |
|
|
24
|
+
| A quotation with attribution | `quote` | `callout` with a name |
|
|
25
|
+
| One rule, formula, definition or warning | `callout` | `bullets` for one sentence |
|
|
26
|
+
| A real screenshot or photo | `media-frame` | `scene3d` for a real screenshot |
|
|
27
|
+
| Code, terminal output or a diff | `code` | plain `bullets` |
|
|
28
|
+
| A product or object in 3D | `scene3d` | `media-frame` when the object must turn |
|
|
29
|
+
| An audio shape | `waveform` | `chart` for peaks |
|
|
30
|
+
| A name, logo, chapter, count or progress | an overlay | a whole base scene for a small chip |
|
|
31
|
+
| The close | `outro` | a second `title` at the end |
|
|
31
32
|
|
|
32
33
|
## Openers
|
|
33
34
|
|
|
@@ -316,3 +317,17 @@ For `caption`, `words` (voice timings) is better than `text`; `mk captions` buil
|
|
|
316
317
|
- `mk catalog` (no type) shows all 28 types and their required fields.
|
|
317
318
|
- One accent per scene, at most six words per line, and preferably no more than two overlays on one base scene; lint warns at three simultaneous overlays.
|
|
318
319
|
- If the message needs two of these shapes, split it into two scenes.
|
|
320
|
+
|
|
321
|
+
## `stair` versus `chart`
|
|
322
|
+
|
|
323
|
+
Both draw a series over time; the boundary is resolution and the marker.
|
|
324
|
+
|
|
325
|
+
- `chart` — 2-8 categories or up to 12 points, one to three series, `highlight` an
|
|
326
|
+
index. Use it for ranking, share, a short trend.
|
|
327
|
+
- `stair` — one bar per year for 12-40 years, plus the same deposit earning simple
|
|
328
|
+
interest as a line, and a marker at the year a **computed** threshold is crossed
|
|
329
|
+
(the gap first reaching one whole deposit). Use it when the argument is that a
|
|
330
|
+
rate compounds slowly and then suddenly, and the viewer must see the crossing.
|
|
331
|
+
|
|
332
|
+
The two do not overlap: `chart` cannot hold 30 points, and it cannot mark a value
|
|
333
|
+
the schema computes rather than an index the author picks.
|