@anvpx/motion 0.1.51 → 0.1.52
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/README.md +31 -16
- package/dist/main.js +0 -0
- package/mcpb/motion-kit-0.1.52.mcpb +0 -0
- package/package.json +15 -12
- package/plugins/motion-kit/.claude-plugin/plugin.json +10 -1
- package/plugins/motion-kit/README.md +39 -24
- 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/icon.png +0 -0
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +31 -25
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +258 -216
- package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/authoring-style.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +71 -58
- package/plugins/motion-kit/skills/motion-kit/references/content-pack.md +10 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-composition.md +43 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-critique.md +26 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-motion.md +28 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-sound.md +2 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-type.md +2 -0
- package/plugins/motion-kit/skills/motion-kit/references/critique-repair.md +9 -0
- package/plugins/motion-kit/skills/motion-kit/references/decision-packet.md +10 -0
- package/plugins/motion-kit/skills/motion-kit/references/density.md +12 -5
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +27 -61
- package/plugins/motion-kit/skills/motion-kit/references/faux-ui.md +16 -1
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +8 -2
- package/plugins/motion-kit/skills/motion-kit/references/index.md +70 -0
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +32 -3
- package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +5 -1
- package/plugins/motion-kit/skills/motion-kit/references/longform.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/outline.md +13 -2
- package/plugins/motion-kit/skills/motion-kit/references/patching.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +46 -66
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +41 -93
- package/plugins/motion-kit/skills/motion-kit/references/review.md +17 -8
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +111 -333
- package/plugins/motion-kit/skills/motion-kit/references/setup.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/slop.md +46 -40
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +9 -3
- package/plugins/motion-kit/skills/motion-kit/references/themes.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +81 -75
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +10 -0
- package/plugins/motion-kit/skills/motion-kit/references/worked-decisions.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/worked-example.md +4 -0
- package/skills/motion-kit/SKILL.md +31 -25
- package/skills/motion-kit/references/amplify.md +258 -216
- package/skills/motion-kit/references/authoring-scene.md +4 -0
- package/skills/motion-kit/references/authoring-style.md +4 -0
- package/skills/motion-kit/references/common-mistakes.md +71 -58
- package/skills/motion-kit/references/content-pack.md +10 -1
- package/skills/motion-kit/references/craft-composition.md +43 -0
- package/skills/motion-kit/references/craft-critique.md +26 -1
- package/skills/motion-kit/references/craft-motion.md +28 -0
- package/skills/motion-kit/references/craft-sound.md +2 -0
- package/skills/motion-kit/references/craft-type.md +2 -0
- package/skills/motion-kit/references/critique-repair.md +9 -0
- package/skills/motion-kit/references/decision-packet.md +10 -0
- package/skills/motion-kit/references/density.md +12 -5
- package/skills/motion-kit/references/direction.md +27 -61
- package/skills/motion-kit/references/faux-ui.md +16 -1
- package/skills/motion-kit/references/free-storyboard.md +8 -2
- package/skills/motion-kit/references/index.md +70 -0
- package/skills/motion-kit/references/intake.md +32 -3
- package/skills/motion-kit/references/knowledge-routing.md +5 -1
- package/skills/motion-kit/references/longform.md +4 -0
- package/skills/motion-kit/references/outline.md +13 -2
- package/skills/motion-kit/references/patching.md +4 -0
- package/skills/motion-kit/references/patterns.md +46 -66
- package/skills/motion-kit/references/quality-bar.md +41 -93
- package/skills/motion-kit/references/review.md +17 -8
- package/skills/motion-kit/references/scene-recipes.md +111 -333
- package/skills/motion-kit/references/setup.md +4 -0
- package/skills/motion-kit/references/slop.md +46 -40
- package/skills/motion-kit/references/storyboard-json.md +9 -3
- package/skills/motion-kit/references/themes.md +4 -0
- package/skills/motion-kit/references/troubleshooting.md +81 -75
- package/skills/motion-kit/references/voice.md +10 -0
- package/skills/motion-kit/references/worked-decisions.md +4 -0
- package/skills/motion-kit/references/worked-example.md +4 -0
|
@@ -1,333 +1,111 @@
|
|
|
1
|
-
# Scene recipes: message first, then props
|
|
2
|
-
|
|
3
|
-
`mk catalog` is the authority: run `mk catalog <type>` before using a type. The snippets below are valid `props` shapes to copy
|
|
4
|
-
|
|
5
|
-
```json
|
|
6
|
-
{ "id": "beat-1", "type": "<type>", "duration": 5, "move": "push-in", "ease": "out", "props": {} }
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## Pick by the shape of the message
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
| A
|
|
27
|
-
|
|
|
28
|
-
| A
|
|
29
|
-
|
|
|
30
|
-
| A
|
|
31
|
-
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"title": "Signups by channel",
|
|
113
|
-
"unit": "signups",
|
|
114
|
-
"data": [
|
|
115
|
-
{ "label": "Search", "value": 420 },
|
|
116
|
-
{ "label": "Referral", "value": 310 },
|
|
117
|
-
{ "label": "Social", "value": 190 }
|
|
118
|
-
],
|
|
119
|
-
"highlight": 0
|
|
120
|
-
}
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
**`table`**: 2-5 columns, 2-8 rows, one highlighted row.
|
|
124
|
-
|
|
125
|
-
```json
|
|
126
|
-
{
|
|
127
|
-
"title": "Top regions",
|
|
128
|
-
"columns": ["Region", "Revenue"],
|
|
129
|
-
"rows": [["North", "$4.2M"], ["South", "$3.1M"]],
|
|
130
|
-
"rank": true,
|
|
131
|
-
"highlight": 0
|
|
132
|
-
}
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
## Explanation
|
|
136
|
-
|
|
137
|
-
**`bullets`**: 1-6 short points; marker `dot`, `check`, `cross` or `number`.
|
|
138
|
-
|
|
139
|
-
```json
|
|
140
|
-
{
|
|
141
|
-
"title": "Three rules",
|
|
142
|
-
"items": ["One idea per scene", "Six words per line", "One accent only"],
|
|
143
|
-
"marker": "check"
|
|
144
|
-
}
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
**`flow`**: 2-8 nodes and the arrows between them; `direction` is `lr` or `tb`.
|
|
148
|
-
|
|
149
|
-
```json
|
|
150
|
-
{
|
|
151
|
-
"direction": "lr",
|
|
152
|
-
"nodes": [
|
|
153
|
-
{ "id": "client", "label": "Client" },
|
|
154
|
-
{ "id": "api", "label": "API gateway" },
|
|
155
|
-
{ "id": "db", "label": "Database" }
|
|
156
|
-
],
|
|
157
|
-
"edges": [
|
|
158
|
-
{ "from": "client", "to": "api", "label": "request" },
|
|
159
|
-
{ "from": "api", "to": "db", "label": "query" }
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
**`steps`**: ordered path, ladder or stairs; use `ladder` for pricing and levels.
|
|
165
|
-
|
|
166
|
-
```json
|
|
167
|
-
{
|
|
168
|
-
"title": "How it works",
|
|
169
|
-
"layout": "path",
|
|
170
|
-
"steps": [
|
|
171
|
-
{ "label": "Write", "detail": "One brief" },
|
|
172
|
-
{ "label": "Preview", "detail": "One pack" },
|
|
173
|
-
{ "label": "Render", "detail": "One yes" }
|
|
174
|
-
]
|
|
175
|
-
}
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
**`timeline`**: 2-7 dated items with `done`, `now` or `next`; `orient` is `h` or `v`.
|
|
179
|
-
|
|
180
|
-
```json
|
|
181
|
-
{
|
|
182
|
-
"title": "Roadmap",
|
|
183
|
-
"orient": "h",
|
|
184
|
-
"items": [
|
|
185
|
-
{ "when": "Q1", "label": "Beta", "state": "done" },
|
|
186
|
-
{ "when": "Q2", "label": "Launch", "state": "now" },
|
|
187
|
-
{ "when": "Q3", "label": "Scale", "state": "next" }
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
**`callout`**: one big statement; `kind` is `formula`, `statement`, `definition`, `warning` or `tip`. Use `formula` for an equation, `statement` for a claim or rule, `definition` for a term, `warning` for a risk, `tip` for advice.
|
|
193
|
-
|
|
194
|
-
```json
|
|
195
|
-
{ "text": "[Profit] = [Revenue] − [Costs]", "kind": "formula", "label": "The rule" }
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
**`code`**: up to 14 lines; `+` and `-` prefixes show a diff; `highlight` is an array of 1-based line numbers.
|
|
199
|
-
|
|
200
|
-
```json
|
|
201
|
-
{
|
|
202
|
-
"lang": "js",
|
|
203
|
-
"file": "total.js",
|
|
204
|
-
"lines": ["const total = price * 2", "- old line", "+ new line"],
|
|
205
|
-
"highlight": [1]
|
|
206
|
-
}
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
## Contrast and voice
|
|
210
|
-
|
|
211
|
-
**`compare`**: two options, 1-5 points each, one winner.
|
|
212
|
-
|
|
213
|
-
```json
|
|
214
|
-
{
|
|
215
|
-
"title": "Before and after",
|
|
216
|
-
"left": { "label": "Before", "points": ["Manual", "Slow"] },
|
|
217
|
-
"right": { "label": "After", "points": ["Automated", "Fast"] },
|
|
218
|
-
"winner": "right",
|
|
219
|
-
"verdict": "Automation wins on repeat work"
|
|
220
|
-
}
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
**`quote`**: testimonial with attribution; `rating` is 1-5.
|
|
224
|
-
|
|
225
|
-
```json
|
|
226
|
-
{
|
|
227
|
-
"quote": "It explained the whole system in twenty seconds.",
|
|
228
|
-
"name": "Alex Kim",
|
|
229
|
-
"role": "CTO",
|
|
230
|
-
"rating": 5
|
|
231
|
-
}
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
## Visual
|
|
235
|
-
|
|
236
|
-
**`icon-grid`**: 2-8 icon cards; get names from `mk icon search`.
|
|
237
|
-
|
|
238
|
-
```json
|
|
239
|
-
{
|
|
240
|
-
"title": "Why teams switch",
|
|
241
|
-
"items": [
|
|
242
|
-
{ "icon": "zap", "label": "Fast setup" },
|
|
243
|
-
{ "icon": "shield", "label": "Secure" },
|
|
244
|
-
{ "icon": "globe", "label": "Global" }
|
|
245
|
-
]
|
|
246
|
-
}
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
**`media-frame`**: a real local image, bare or in a browser/phone/laptop frame. Import it, then point `image` at the file relative to `--assets`:
|
|
250
|
-
|
|
251
|
-
```bash
|
|
252
|
-
mk assets import src/dashboard.png --dir assets --ledger assets.json --licence CC0-1.0 --source-url <url>
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
```json
|
|
256
|
-
{
|
|
257
|
-
"image": "dashboard.png",
|
|
258
|
-
"device": "browser",
|
|
259
|
-
"title": "The dashboard",
|
|
260
|
-
"callouts": [{ "x": 30, "y": 40, "label": "Start here" }]
|
|
261
|
-
}
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
Pass the same `--assets assets --ledger assets.json` to build, preview, approve and render. Up to 3 callouts; `x`/`y` are percentages 0-100; `label` is at most 24 characters.
|
|
265
|
-
|
|
266
|
-
**`scene3d`**: a WebGL diorama; it falls back to flat 2D without WebGL. 3D output is machine/GPU stable, not portable.
|
|
267
|
-
|
|
268
|
-
Pick the `stage` before the material, because the stage is what the frame _says_:
|
|
269
|
-
|
|
270
|
-
| `stage` | The frame argues | Use it for |
|
|
271
|
-
| --------- | ------------------------------------- | ----------------------------------------------------- |
|
|
272
|
-
| `diorama` | "an object floats in a designed void" | a hero shot with rings, an orb and a satellite |
|
|
273
|
-
| `plinth` | "a product on a stand" | a product, with a lit top face and a dark body |
|
|
274
|
-
| `grid` | "space recedes" | scale, distance, a floor that runs away from the lens |
|
|
275
|
-
| `floor` | "the object meets the world" | contact, shadow length, a horizon behind the subject |
|
|
276
|
-
|
|
277
|
-
`composition` decides where the type lives — `overlay` (copy over a scrim), `column`
|
|
278
|
-
(left panel, picture right), `inset` (a bordered plate clearing the copy column) or
|
|
279
|
-
`bare` (picture only). Never use the same composition for two adjacent beats: at
|
|
280
|
-
seven beats the reader sees a template, not a film.
|
|
281
|
-
|
|
282
|
-
`contact: sink` eases a body below its seat so the ground visibly takes it;
|
|
283
|
-
`compare: behind|front` puts a second body on the same ground so a distance is
|
|
284
|
-
measured instead of asserted.
|
|
285
|
-
|
|
286
|
-
```json
|
|
287
|
-
{ "title": "Orbit", "post": "cinematic", "light": "studio", "material": "metal", "hdri": "studio" }
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
**`waveform`**: 16-128 precomputed peaks, 0-1; never decode audio into the board.
|
|
291
|
-
|
|
292
|
-
```json
|
|
293
|
-
{
|
|
294
|
-
"label": "Intro",
|
|
295
|
-
"peaks": [0.2, 0.4, 0.6, 0.8, 0.6, 0.4, 0.3, 0.5, 0.7, 0.9, 0.7, 0.5, 0.4, 0.3, 0.2, 0.1]
|
|
296
|
-
}
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
## Overlays
|
|
300
|
-
|
|
301
|
-
All overlays need `"layer": "overlay"`, `"over": "<base id>"`, `"duration"` and no `transition`.
|
|
302
|
-
|
|
303
|
-
| Type | Props | Use for |
|
|
304
|
-
| ------------- | ------------------------------------------------------ | ----------------------------- |
|
|
305
|
-
| `lower-third` | `{ "name": "Ada Lovelace", "title": "Mathematician" }` | a name plate |
|
|
306
|
-
| `bug` | `{ "text": "ACME", "position": "top-right" }` | a corner word mark or logo |
|
|
307
|
-
| `progress` | `{ "scope": "timeline", "label": "Progress" }` | a thin progress bar |
|
|
308
|
-
| `countdown` | `{ "from": 3, "to": 1 }` | a countdown |
|
|
309
|
-
| `chapter` | `{ "number": 1, "label": "How it works" }` | a numbered chapter chip |
|
|
310
|
-
| `caption` | `{ "text": "Automation wins on repeat work." }` | karaoke or full-text captions |
|
|
311
|
-
|
|
312
|
-
For `caption`, `words` (voice timings) is better than `text`; `mk captions` builds the overlay ops from a voice manifest.
|
|
313
|
-
|
|
314
|
-
## Before you write
|
|
315
|
-
|
|
316
|
-
- `mk catalog <type>` shows the exact fields, limits and a minimal example.
|
|
317
|
-
- `mk catalog` (no type) shows all 28 types and their required fields.
|
|
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.
|
|
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.
|
|
1
|
+
# Scene recipes: message first, then props
|
|
2
|
+
|
|
3
|
+
`mk catalog` is the authority: run `mk catalog <type>` before using a type. The snippets below are valid `props` shapes to copy.
|
|
4
|
+
|
|
5
|
+
```json
|
|
6
|
+
{ "id": "beat-1", "type": "<type>", "duration": 5, "move": "push-in", "ease": "out", "props": {} }
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Pick by the shape of the message
|
|
10
|
+
|
|
11
|
+
Run `mk catalog <type>` before using any type; copy prop names from catalog output, never from memory. For 3D worlds (`scene3d`) realize ground/stage, light, camera, material, volumetric/reflector, layout and related objects only with catalog-supported props.
|
|
12
|
+
|
|
13
|
+
| The beat is | Use | Avoid |
|
|
14
|
+
| ---------------------------------------------- | --------------------------------------- | --------------------------------------- |
|
|
15
|
+
| A hook, claim or section opener | `title`, `poster`, `kinetic`, `sticker` | `bullets` for one claim |
|
|
16
|
+
| One number that carries the point | `stat` | `chart` for a single value |
|
|
17
|
+
| Two to six numbers at a glance | `kpi-grid` | a wall of `stat` scenes |
|
|
18
|
+
| Trend, ranking or share | `chart` | `table` when the shape is the message |
|
|
19
|
+
| A rate compounding year by year (12-40 points) | `stair` | `chart` when there are 2-8 categories |
|
|
20
|
+
| Exact values, a small ranked list | `table` | `chart` for two rows |
|
|
21
|
+
| An ordered procedure | `steps` | `flow` for a straight sequence |
|
|
22
|
+
| A system, dependencies or a decision path | `flow` | `timeline` when nothing is dated |
|
|
23
|
+
| Before/after, two options | `compare` | two separate `bullets` scenes |
|
|
24
|
+
| Features, benefits or categories | `icon-grid` | `bullets` with invented icons |
|
|
25
|
+
| History, roadmap, now/next | `timeline` | `steps` for dates |
|
|
26
|
+
| A quotation with attribution | `quote` | `callout` with a name |
|
|
27
|
+
| One rule, formula, definition or warning | `callout` | `bullets` for one sentence |
|
|
28
|
+
| A real screenshot or photo | `media-frame` | `scene3d` for a real screenshot |
|
|
29
|
+
| Code, terminal output or a diff | `code` | plain `bullets` |
|
|
30
|
+
| A product or object in 3D | `scene3d` | `media-frame` when the object must turn |
|
|
31
|
+
| An audio shape | `waveform` | `chart` for peaks |
|
|
32
|
+
| A name, logo, chapter, count or progress | an overlay | a whole base scene for a small chip |
|
|
33
|
+
| The close | `outro` | a second `title` at the end |
|
|
34
|
+
|
|
35
|
+
## All types (one line each; props per `mk catalog <type>`)
|
|
36
|
+
|
|
37
|
+
`title` opening/section card; kicker + subtitle. `hero` landing hero with `[x]` accents, up to 4 glass tiles. `poster` 1-3 oversized lines; last line can be outline. `kinetic` one word/phrase per beat; `emphasis` is 1-based accent beat. `sticker` pop-comic slam; `burst`. `stat` hero number counting up; value/unit/label/delta/context. `kpi-grid` 2-6 numbers; trend up/down/flat, good up/down, trend needs delta, good needs trend. `chart` bar/line/donut; bar+donut need data, line needs x+series; highlight 0-based. `table` 2-5 cols, 2-8 rows; rank, highlight. `bullets` 1-6 points; marker dot/check/cross/number. `flow` 2-8 nodes + edges; direction lr/tb. `steps` ordered path/ladder/stairs. `timeline` 2-7 dated items; state done/now/next; orient h/v. `callout` formula/statement/definition/warning/tip. `code` up to 14 lines; +/- diff; highlight array of 1-based lines. `compare` two options, 1-5 points each, one winner. `quote` testimonial; rating 1-5. `icon-grid` 2-8 cards; names from `mk icon search`. `media-frame` local image, bare/browser/phone/laptop frame; up to 3 callouts, x/y 0-100 %, label <=24 chars. `scene3d` WebGL diorama; stage diorama/plinth/grid/floor; composition overlay/column/inset/bare; contact sink; compare behind/front. `waveform` 16-128 peaks 0-1; never decode audio. `stair` one bar per year 12-40 plus simple-interest line and threshold marker. `outro` close card.
|
|
38
|
+
|
|
39
|
+
## Overlays
|
|
40
|
+
|
|
41
|
+
All overlays need `"layer": "overlay"`, `"over": "<base id>"`, `"duration"` and no `transition`.
|
|
42
|
+
|
|
43
|
+
| Type | Props | Use for |
|
|
44
|
+
| ------------- | ------------------------------------------------------ | ----------------------------- |
|
|
45
|
+
| `lower-third` | `{ "name": "Ada Lovelace", "title": "Mathematician" }` | a name plate |
|
|
46
|
+
| `bug` | `{ "text": "ACME", "position": "top-right" }` | a corner word mark or logo |
|
|
47
|
+
| `progress` | `{ "scope": "timeline", "label": "Progress" }` | a thin progress bar |
|
|
48
|
+
| `countdown` | `{ "from": 3, "to": 1 }` | a countdown |
|
|
49
|
+
| `chapter` | `{ "number": 1, "label": "How it works" }` | a numbered chapter chip |
|
|
50
|
+
| `caption` | `{ "text": "Automation wins on repeat work." }` | karaoke or full-text captions |
|
|
51
|
+
|
|
52
|
+
For `caption`, `words` (voice timings) is better than `text`; `mk captions` builds the overlay ops from a voice manifest.
|
|
53
|
+
|
|
54
|
+
## Before you write
|
|
55
|
+
|
|
56
|
+
- `mk catalog <type>` shows the exact fields, limits and a minimal example.
|
|
57
|
+
- `mk catalog` (no type) shows all 28 types and their required fields.
|
|
58
|
+
- 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.
|
|
59
|
+
- If the message needs two of these shapes, split it into two scenes.
|
|
60
|
+
|
|
61
|
+
## `stair` versus `chart`
|
|
62
|
+
|
|
63
|
+
- `chart` — 2-8 categories or up to 12 points, one to three series, `highlight` an index. Use it for ranking, share, a short trend.
|
|
64
|
+
- `stair` — one bar per year for 12-40 years, plus the same deposit earning simple interest as a line, and a marker at the year a computed threshold is crossed (the gap first reaching one whole deposit). Use it when the argument is that a rate compounds slowly and then suddenly, and the viewer must see the crossing.
|
|
65
|
+
- The two do not overlap: `chart` cannot hold 30 points, and it cannot mark a value the schema computes rather than an index the author picks.
|
|
66
|
+
|
|
67
|
+
## Recipe: short-vertical (9:16)
|
|
68
|
+
|
|
69
|
+
9:16 short-form film: hook in the first 1-2 s, caption lane in the safe area, one claim per beat.
|
|
70
|
+
|
|
71
|
+
- `kinetic` (hook, first frame, no entrance) + `caption` overlay (karaoke, safe-area band) + `sticker` (payoff) + `media-frame`/`hero` for the subject.
|
|
72
|
+
- Hook on frame 0; <=2 key points; <=45 s total; change the picture at least every 2 s; caption mirrors the script.
|
|
73
|
+
- Safe area: must-see text above the caption band and away from app button zones.
|
|
74
|
+
- Check: first spoken word <= 1.0 s; duration <= 45 s; zero text-in-caption-band and text-in-button-zone warnings; caption byte-identical to script.
|
|
75
|
+
|
|
76
|
+
## Recipe: deterministic-plates
|
|
77
|
+
|
|
78
|
+
Generated vs authored plates over a pure scene: storyboard + optional cues sidecar, scene isolation, sheet-first verification.
|
|
79
|
+
|
|
80
|
+
- Scene is a pure function of `t`: no `Math.random`, `Date.now`, or unseeded globals; seeded RNG only, documented and resettable.
|
|
81
|
+
- Optional `cues.json` sidecar (words/beats/sections) anchors cuts to sourced cue lines snapped to a beat grid.
|
|
82
|
+
- `--only`-style isolation renders one named scene; errors print with scene id before render starts.
|
|
83
|
+
- Sheet/stills/clip verification before full render.
|
|
84
|
+
- Check: same scene at same `t` yields identical output; grep for `Math.random|Date.now` returns zero; every cut time is a member of the cue grid within +/- 1 frame.
|
|
85
|
+
|
|
86
|
+
## Recipe: mechanism-explainer
|
|
87
|
+
|
|
88
|
+
Mechanism-first: one mechanism per beat, cue-keyed timing, labels never cut on a hold.
|
|
89
|
+
|
|
90
|
+
- `callout` (one rule/definition per beat) + `code` (typed reveal) + `chart` (trend/share) + `kinetic` (key message) + `caption` overlay (karaoke) + `media-frame` (screenshot), sequenced by cue markers.
|
|
91
|
+
- Scenes keyed to cue words/markers rather than fixed seconds; both 16:9 and tall layouts share narration and cues.
|
|
92
|
+
- Camera follows narration; pull back at the end so the last frame shows the whole idea; never cut a card or label in half while a shot holds.
|
|
93
|
+
- Check: every scene start/end derives from a cue marker or spoken-word timestamp; all text boxes fully inside the frame for every hold >= 1.0 s; final frame has no clipping.
|
|
94
|
+
|
|
95
|
+
## Recipe: whiteboard
|
|
96
|
+
|
|
97
|
+
Mask reveal, streaming ink, clean ground first frame.
|
|
98
|
+
|
|
99
|
+
- Source images free of text; warm paper ground `#F5EBD7` sampled from image corners, never pure white.
|
|
100
|
+
- Each element gets a `sequence` ordered by subtitle events (setup -> subject -> action -> reaction) with `reveal.startMs` after the prior element's `startMs + durationMs` (+100-300 ms).
|
|
101
|
+
- Later subject regions recorded in earlier subject's `reveal.protectedRegions` (integer px, same canvas origin); allowed mask = region - later regions - protectedRegions.
|
|
102
|
+
- Hold the full frame >= 0.5 s after the last stroke.
|
|
103
|
+
- Check: frame 0 has < 0.5 % non-ground pixels outside title-safe; final frame equals the source image for >= 0.5 s; adjacent pairs satisfy `element[i+1].reveal.startMs >= element[i].reveal.startMs + element[i].reveal.durationMs`.
|
|
104
|
+
|
|
105
|
+
## Recipe: liquid-drop
|
|
106
|
+
|
|
107
|
+
`scene3d` with `knot`, `gem`, `sphere` or `torus` only; there is no `liquid` model. Run `mk catalog scene3d` before use.
|
|
108
|
+
Use `gem` for hard glint, `sphere` for soft drop, `knot`/`torus` for motion interest; one idea per scene.
|
|
109
|
+
Check: unknown model falls back to knot; never document `liquid` as valid.
|
|
110
|
+
|
|
111
|
+
## Applicability, counterexample and provenance
|
|
@@ -14,3 +14,7 @@ Engine renders silent without voice. For narration, set up the voice venv once:
|
|
|
14
14
|
Run the installed package; no checkout is needed. Fixes: hyperframes pin 0.8.212; icons `icons.json`; templates `import.meta.url`; fonts woff2 + OFL; bin `dist/main.js`.
|
|
15
15
|
|
|
16
16
|
`mk doctor` has 18 rows: node, pnpm, ffmpeg, ffprobe, hyperframes, chrome-headless-shell, gpu, python, python-venv, espeak, kokoro, faster-whisper, fonts, icons, templates, bin, catalog, skills. The trailing line counts statuses (for example `17 ok, 1 usable`), not rows. Vendored hint `reinstall @anvpx/motion`. `--fix` only `npx hyperframes browser ensure`; rest hint-only, exits unchanged.
|
|
17
|
+
|
|
18
|
+
## Applicability, counterexample and provenance
|
|
19
|
+
|
|
20
|
+
The setup steps and `mk doctor` rows describe the installed package's expected environment, not a universal Python or Node installation guide. Voice is opt-in; missing voice tools never fail the overall exit code. A silent film is valid when voice is unavailable or unapproved. Check: `mk doctor` trailing line counts statuses; voice rows may show usable or missing without failing the command.
|
|
@@ -1,40 +1,46 @@
|
|
|
1
|
-
# What never ships
|
|
2
|
-
|
|
3
|
-
Historical style heuristics attributed to a skill built on 53 frame-measured moments and rejected AI films. The underlying corpus and measurements are not qualified by this package. Use the observations to question an unchosen habit, not to define a permissible style.
|
|
4
|
-
|
|
5
|
-
These are style defaults and judgement calls, not engine rules: when the brief earns one of these deliberately, it is allowed — name the exception and its reason in the outline instead of following the list mechanically.
|
|
6
|
-
|
|
7
|
-
## Examine unchosen defaults
|
|
8
|
-
|
|
9
|
-
1. **Page chrome:** a name in a corner, counters ("02 / 05"), timecodes, progress bars, corner brackets.
|
|
10
|
-
2. **Deck layouts:** a held left headline, a kicker above a headline, headline-left/device-right.
|
|
11
|
-
3. **Generic UI:** a rounded card with a status dot and "label . value", skeleton bars, invented numbers.
|
|
12
|
-
4. **The name's first association:** stars for a star, a rocket for "launch".
|
|
13
|
-
5. **Invented stats**, stat walls, on-screen disclaimers.
|
|
14
|
-
6. **Slogan copy:** "Not just X. It's Y.", "Unlock", "Meet X", "the future of".
|
|
15
|
-
7. **The house style as default:** a giant cropped word, a colour-flood wipe, a dot becoming the logo.
|
|
16
|
-
8. **A flat swatch ground per scene**, or a small card on a void.
|
|
17
|
-
9. **A pinned object** at the same coordinates through three shots.
|
|
18
|
-
10. **A web-footer ending:** logo + tagline + button + URL.
|
|
19
|
-
11. **Self-certification:** claiming a gate passed without quoting its number.
|
|
20
|
-
12. **A film you did not look at.**
|
|
21
|
-
|
|
22
|
-
## Historical motion hypotheses
|
|
23
|
-
|
|
24
|
-
These source-specific observations are starting points for a short, energetic treatment, not measured laws of animation. Their counts and ranges have not been independently reproduced here; preview alternatives against the direction.
|
|
25
|
-
|
|
26
|
-
- The source reports a median move of **10 frames (0.33 s)** and travel concentrated in the first 4-8 frames. Longer movement may be necessary for distance, weight or reading.
|
|
27
|
-
- Decelerating arrivals and accelerating exits can make a hand-off decisive. Spring count follows material and meaning rather than a per-film quota.
|
|
28
|
-
- The source reports **3,392 transform entries against 584 opacity fades**. That ratio does not disqualify a dissolve, atmospheric fade or a film built around opacity.
|
|
29
|
-
- An oversize arrival (the source's logo example starts around 3.5x) can express force. Growth from zero can instead communicate emergence when that is the intended idea.
|
|
30
|
-
- A living detail can sustain a held frame. Complete stillness and rest can also give information or emotion time to land.
|
|
31
|
-
- The source's **0.3-2.3 s cuts on motion** suit one pacing vocabulary. Cuts on rest, long takes and slow cinema remain valid choices.
|
|
32
|
-
- The source's **0.6-1.4 s end hold** and shrinking ending are options. Reading load, sound and narrative closure determine the actual hold and scale.
|
|
33
|
-
|
|
34
|
-
## Type sizes, as a fraction of frame height
|
|
35
|
-
|
|
36
|
-
Optional source examples: headline 7-11 % (9 typical)
|
|
37
|
-
|
|
38
|
-
## Fix order when it looks wrong
|
|
39
|
-
|
|
40
|
-
broken or untrue
|
|
1
|
+
# What never ships
|
|
2
|
+
|
|
3
|
+
Historical style heuristics attributed to a skill built on 53 frame-measured moments and rejected AI films. The underlying corpus and measurements are not qualified by this package. Use the observations to question an unchosen habit, not to define a permissible style.
|
|
4
|
+
|
|
5
|
+
These are style defaults and judgement calls, not engine rules: when the brief earns one of these deliberately, it is allowed — name the exception and its reason in the outline instead of following the list mechanically.
|
|
6
|
+
|
|
7
|
+
## Examine unchosen defaults
|
|
8
|
+
|
|
9
|
+
1. **Page chrome:** a name in a corner, counters ("02 / 05"), timecodes, progress bars, corner brackets.
|
|
10
|
+
2. **Deck layouts:** a held left headline, a kicker above a headline, headline-left/device-right.
|
|
11
|
+
3. **Generic UI:** a rounded card with a status dot and "label . value", skeleton bars, invented numbers.
|
|
12
|
+
4. **The name's first association:** stars for a star, a rocket for "launch".
|
|
13
|
+
5. **Invented stats**, stat walls, on-screen disclaimers.
|
|
14
|
+
6. **Slogan copy:** "Not just X. It's Y.", "Unlock", "Meet X", "the future of".
|
|
15
|
+
7. **The house style as default:** a giant cropped word, a colour-flood wipe, a dot becoming the logo.
|
|
16
|
+
8. **A flat swatch ground per scene**, or a small card on a void.
|
|
17
|
+
9. **A pinned object** at the same coordinates through three shots.
|
|
18
|
+
10. **A web-footer ending:** logo + tagline + button + URL.
|
|
19
|
+
11. **Self-certification:** claiming a gate passed without quoting its number.
|
|
20
|
+
12. **A film you did not look at.**
|
|
21
|
+
|
|
22
|
+
## Historical motion hypotheses
|
|
23
|
+
|
|
24
|
+
These source-specific observations are starting points for a short, energetic treatment, not measured laws of animation. Their counts and ranges have not been independently reproduced here; preview alternatives against the direction.
|
|
25
|
+
|
|
26
|
+
- The source reports a median move of **10 frames (0.33 s)** and travel concentrated in the first 4-8 frames. Longer movement may be necessary for distance, weight or reading.
|
|
27
|
+
- Decelerating arrivals and accelerating exits can make a hand-off decisive. Spring count follows material and meaning rather than a per-film quota.
|
|
28
|
+
- The source reports **3,392 transform entries against 584 opacity fades**. That ratio does not disqualify a dissolve, atmospheric fade or a film built around opacity.
|
|
29
|
+
- An oversize arrival (the source's logo example starts around 3.5x) can express force. Growth from zero can instead communicate emergence when that is the intended idea.
|
|
30
|
+
- A living detail can sustain a held frame. Complete stillness and rest can also give information or emotion time to land.
|
|
31
|
+
- The source's **0.3-2.3 s cuts on motion** suit one pacing vocabulary. Cuts on rest, long takes and slow cinema remain valid choices.
|
|
32
|
+
- The source's **0.6-1.4 s end hold** and shrinking ending are options. Reading load, sound and narrative closure determine the actual hold and scale.
|
|
33
|
+
|
|
34
|
+
## Type sizes, as a fraction of frame height
|
|
35
|
+
|
|
36
|
+
Optional source examples: headline 7-11 % (9 typical) - support 5-7 % - hero number 22-29 % - wordmark 0.22-0.38 of width. They are not engine limits; choose and preview a hierarchy for the actual words, aspect and viewing conditions.
|
|
37
|
+
|
|
38
|
+
## Fix order when it looks wrong
|
|
39
|
+
|
|
40
|
+
broken or untrue -> the idea -> connections between beats -> hierarchy and scale -> timing -> surface -> sound.
|
|
41
|
+
|
|
42
|
+
## Applicability, counterexample and provenance
|
|
43
|
+
|
|
44
|
+
**Applicability:** a film feels generic or exhibits any never-ship habit above. **Counterexample:** each item is a default to examine, not a ban - a deliberate glow, particle burst, gradient or pinned object is allowed when the brief names the reason; atmospheric fades, opacity-led films, long takes and slow cinema are valid. **Provenance:** historical observations from 53 frame-measured moments and rejected AI films, not engine rules or validated laws. Type-size fractions are source examples, not engine limits.
|
|
45
|
+
|
|
46
|
+
**Check:** for every habit kept, the brief or direction note states the reason; for every habit removed, the replacement is named. No unexplained never-ship item appears in the busiest frame.
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
| `layer` | optional `base` or `overlay`; omit for base |
|
|
69
69
|
| `over`, `offset` | overlays only: the base scene id they cover, and seconds into it (default 0) |
|
|
70
70
|
|
|
71
|
-
Defaults belong to the renderer; do not invent direction values.
|
|
71
|
+
Defaults belong to the renderer; do not invent direction values.
|
|
72
72
|
|
|
73
73
|
## Base and overlay
|
|
74
74
|
|
|
@@ -114,8 +114,14 @@ Defaults belong to the renderer; do not invent direction values. `mk catalog` li
|
|
|
114
114
|
|
|
115
115
|
1. `version` is 1; `meta.title`, `width`, `height`, `fps`, `theme` are present.
|
|
116
116
|
2. Every scene id is unique and a slug; every `type` came from `mk catalog`.
|
|
117
|
-
3. Every base scene has a `move` and a `duration
|
|
117
|
+
3. Every base scene has a `move` and a `duration`; one scene per ~7 s, lint reading time ~3 words/s.
|
|
118
118
|
4. Every overlay has `layer`, `over`, `duration` and no `transition`; it fits its base.
|
|
119
119
|
5. Every prop key came from `mk catalog <type>`; every text is within its limit.
|
|
120
|
-
6. Every image exists locally and has a ledger row.
|
|
120
|
+
6. Every image exists locally and has a ledger row; remote URLs fail closed.
|
|
121
121
|
7. `mk validate` prints `0 errors`; read warnings, do not ignore them.
|
|
122
|
+
8. No `+placeholder`/`[invented]` in rendered props (fail closed); untagged numbers fail.
|
|
123
|
+
9. Beat count cites restraint (20-75 s = 3 beats, >75 s = 5); restraint beat fixture passes.
|
|
124
|
+
|
|
125
|
+
## Applicability, counterexample and provenance
|
|
126
|
+
|
|
127
|
+
The schema rules are motion-kit validator behavior. `mk validate` checks structure and lint; it does not resolve themes or judge quality. A board can validate and still fail at preview or read poorly. Check: `mk validate` prints 0 errors; theme resolves at preview; every prop key came from `mk catalog <type>`.
|
|
@@ -23,3 +23,7 @@ For luxury or editorial work, `editorial-*` (serif, ink) and `warm-*` (cream, te
|
|
|
23
23
|
`scene3d` is a procedural WebGL diorama, not a GLB importer. `model` selects `knot` (default), `gem` (faceted stone), `sphere` or `torus`; `material` is `clay|gloss|metal|emissive`; `post` is `clean|bloom|cinematic|vintage`; `light`/`hdri` are `studio|sunset|night|soft` / `neutral|studio|sunset|night`.
|
|
24
24
|
|
|
25
25
|
For a luxury abstract hero, try `model: gem`, `material: metal`, `light: sunset`, `post: cinematic`, `hdri: sunset` on a dark theme. There is no model upload: use it for an abstract form, not a replica of a specific product. Without WebGL it falls back to a flat 2D canvas; say so when that matters.
|
|
26
|
+
|
|
27
|
+
## Applicability, counterexample and provenance
|
|
28
|
+
|
|
29
|
+
Theme tokens and contrast enforcement are motion-kit build behavior, not a licensed design system. The 18 vendored DTCG families are package contents; theme names are not style guarantees. A dark theme on a bright brand or a light theme on a night scene can be the right choice when the direction calls for it. Check: `fg` on `bg` clears 4.5:1 (3:1 for large display type); preview at delivery size and on the intended background state.
|