@anvpx/motion 0.1.17 → 0.1.19

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 CHANGED
@@ -31,7 +31,7 @@ code | base | Code or terminal text typed or revealed line by line, with highlig
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
33
  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
- scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), camera orbit|dolly|crane|push|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|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. | -
34
+ 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
35
  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
36
36
  waveform | base | Audio waveform from precomputed peaks: bars rise as the playhead sweeps; for voice agents, podcasts and narrated reports. Peaks are storyboard data, never decoded audio. | peaks
37
37
  Detail: `mk catalog <type>`. Props are strict; unlisted keys are rejected.
@@ -275,23 +275,27 @@ props: {"title":"Top regions","columns":["Region","Revenue"],"rows":[["North","$
275
275
  ```
276
276
 
277
277
  ```
278
- scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid (each owns its own furniture), compare off|behind|front (a second object for scale/occlusion), camera orbit|dolly|crane|push|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|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.
279
- title text<=60
280
- caption text<=140
281
- model text
282
- post clean|bloom|cinematic|vintage = "cinematic"
283
- light studio|sunset|night|soft = "studio"
284
- material clay|gloss|metal|emissive|glass|wire = "clay"
285
- hdri neutral|studio|sunset|night = "neutral"
286
- camera orbit|dolly|crane|push|static = "orbit"
287
- depth single|layer|tunnel = "single"
288
- volumetric off|soft|dense = "off"
289
- reflector off|gloss|mirror = "off"
290
- layout card|film = "card"
291
- fallback auto|flat = "auto"
292
- stage diorama|plinth|grid = "diorama"
293
- compare off|behind|front = "off"
294
- composition overlay|column|bare = "overlay"
278
+ 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.
279
+ title text<=60
280
+ caption text<=140
281
+ model text
282
+ post clean|bloom|cinematic|vintage = "cinematic"
283
+ light studio|sunset|night|soft|sweep = "studio"
284
+ material clay|gloss|metal|emissive|glass|wire = "clay"
285
+ hdri neutral|studio|sunset|night = "neutral"
286
+ camera orbit|dolly|crane|push|macro|tele|high|low|static = "orbit"
287
+ depth single|layer|tunnel = "single"
288
+ volumetric off|soft|dense = "off"
289
+ reflector off|gloss|mirror = "off"
290
+ layout card|film = "card"
291
+ fallback auto|flat = "auto"
292
+ stage diorama|plinth|grid|floor = "diorama"
293
+ compare off|behind|front|apart = "off"
294
+ contact rest|sink = "rest"
295
+ annotate off|span = "off"
296
+ floor plain|ruled = "plain"
297
+ pair-material same|clay|gloss|metal|emissive|glass = "same"
298
+ composition overlay|column|inset|full|plate|bare = "overlay"
295
299
  props: {"title":"Plinth","stage":"plinth","compare":"behind","layout":"film"}
296
300
  ```
297
301
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvpx/motion",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
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.17",
60
- "@anvpx/motion-audio": "0.1.17",
61
- "@anvpx/motion-build": "0.1.17",
62
- "@anvpx/motion-cli": "0.1.17",
63
- "@anvpx/motion-scenes": "0.1.17",
64
- "@anvpx/motion-schema": "0.1.17",
65
- "@anvpx/motion-templates": "0.1.17",
66
- "@anvpx/motion-themes": "0.1.17",
59
+ "@anvpx/motion-assets": "0.1.19",
60
+ "@anvpx/motion-audio": "0.1.19",
61
+ "@anvpx/motion-build": "0.1.19",
62
+ "@anvpx/motion-cli": "0.1.19",
63
+ "@anvpx/motion-scenes": "0.1.19",
64
+ "@anvpx/motion-schema": "0.1.19",
65
+ "@anvpx/motion-templates": "0.1.19",
66
+ "@anvpx/motion-themes": "0.1.19",
67
67
  "hyperframes": "0.8.212",
68
68
  "postprocessing": "6.39.5",
69
69
  "three": "0.186.0",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "description": "Brief-to-approved video via the pinned motion-kit CLI: storyboard, preview, gated render.",
3
3
  "name": "motion-kit",
4
- "version": "0.1.17"
4
+ "version": "0.1.19"
5
5
  }
@@ -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.17 plugin install` copies this exact folder).
5
+ `npx -y @anvpx/motion@0.1.19 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.17` (pinned; never unpinned `npx`).
12
+ calls `npx -y @anvpx/motion@0.1.19` (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.17 plugin install --out ./motion-kit-plugin
29
+ npx -y @anvpx/motion@0.1.19 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.17 preview storyboard.json
9
- npx -y @anvpx/motion@0.1.17 approve storyboard.json --note "<user words>"
8
+ npx -y @anvpx/motion@0.1.19 preview storyboard.json
9
+ npx -y @anvpx/motion@0.1.19 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.17 template list --for "<one-line brief>"
9
- npx -y @anvpx/motion@0.1.17 template show <template>/<blueprint>
10
- npx -y @anvpx/motion@0.1.17 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
- npx -y @anvpx/motion@0.1.17 validate storyboard.json
8
+ npx -y @anvpx/motion@0.1.19 template list --for "<one-line brief>"
9
+ npx -y @anvpx/motion@0.1.19 template show <template>/<blueprint>
10
+ npx -y @anvpx/motion@0.1.19 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
+ npx -y @anvpx/motion@0.1.19 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.17 render storyboard.json --gated --verify
9
- npx -y @anvpx/motion@0.1.17 verify out/final.mp4 --storyboard storyboard.json
8
+ npx -y @anvpx/motion@0.1.19 render storyboard.json --gated --verify
9
+ npx -y @anvpx/motion@0.1.19 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.17`; 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.
9
+ `mk` = `npx -y @anvpx/motion@0.1.19`; 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
 
@@ -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.17` 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 |
57
+ | `npx -y @anvpx/motion@0.1.19` 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
 
@@ -264,6 +264,24 @@ Pass the same `--assets assets --ledger assets.json` to build, preview, approve
264
264
 
265
265
  **`scene3d`**: a WebGL diorama; it falls back to flat 2D without WebGL. 3D output is machine/GPU stable, not portable.
266
266
 
267
+ Pick the `stage` before the material, because the stage is what the frame _says_:
268
+
269
+ | `stage` | The frame argues | Use it for |
270
+ | --------- | ------------------------------------- | ----------------------------------------------------- |
271
+ | `diorama` | "an object floats in a designed void" | a hero shot with rings, an orb and a satellite |
272
+ | `plinth` | "a product on a stand" | a product, with a lit top face and a dark body |
273
+ | `grid` | "space recedes" | scale, distance, a floor that runs away from the lens |
274
+ | `floor` | "the object meets the world" | contact, shadow length, a horizon behind the subject |
275
+
276
+ `composition` decides where the type lives — `overlay` (copy over a scrim), `column`
277
+ (left panel, picture right), `inset` (a bordered plate clearing the copy column) or
278
+ `bare` (picture only). Never use the same composition for two adjacent beats: at
279
+ seven beats the reader sees a template, not a film.
280
+
281
+ `contact: sink` eases a body below its seat so the ground visibly takes it;
282
+ `compare: behind|front` puts a second body on the same ground so a distance is
283
+ measured instead of asserted.
284
+
267
285
  ```json
268
286
  { "title": "Orbit", "post": "cinematic", "light": "studio", "material": "metal", "hdri": "studio" }
269
287
  ```
@@ -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.17`; 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.
9
+ `mk` = `npx -y @anvpx/motion@0.1.19`; 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
 
@@ -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.17` 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 |
57
+ | `npx -y @anvpx/motion@0.1.19` 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
 
@@ -264,6 +264,24 @@ Pass the same `--assets assets --ledger assets.json` to build, preview, approve
264
264
 
265
265
  **`scene3d`**: a WebGL diorama; it falls back to flat 2D without WebGL. 3D output is machine/GPU stable, not portable.
266
266
 
267
+ Pick the `stage` before the material, because the stage is what the frame _says_:
268
+
269
+ | `stage` | The frame argues | Use it for |
270
+ | --------- | ------------------------------------- | ----------------------------------------------------- |
271
+ | `diorama` | "an object floats in a designed void" | a hero shot with rings, an orb and a satellite |
272
+ | `plinth` | "a product on a stand" | a product, with a lit top face and a dark body |
273
+ | `grid` | "space recedes" | scale, distance, a floor that runs away from the lens |
274
+ | `floor` | "the object meets the world" | contact, shadow length, a horizon behind the subject |
275
+
276
+ `composition` decides where the type lives — `overlay` (copy over a scrim), `column`
277
+ (left panel, picture right), `inset` (a bordered plate clearing the copy column) or
278
+ `bare` (picture only). Never use the same composition for two adjacent beats: at
279
+ seven beats the reader sees a template, not a film.
280
+
281
+ `contact: sink` eases a body below its seat so the ground visibly takes it;
282
+ `compare: behind|front` puts a second body on the same ground so a distance is
283
+ measured instead of asserted.
284
+
267
285
  ```json
268
286
  { "title": "Orbit", "post": "cinematic", "light": "studio", "material": "metal", "hdri": "studio" }
269
287
  ```