greenlight-motion 0.3.1 → 0.3.2
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 +9 -9
- package/dist/greenlight-motion-script.mjs +260 -190
- package/dist/greenlight-motion.js +570 -570
- package/dist/greenlight-motion.mjs +29205 -29174
- package/package.json +1 -1
- package/schema/capabilities.json +1 -1
- package/skill/SKILL.md +11 -11
- package/skill/references/scene-script.md +2 -2
- package/skill/references/video-design.md +5 -2
- package/skill/references/video-grid.md +2 -2
- package/skill/references/video-keyframes.md +4 -3
- package/skill/references/video-text-kinetic.md +4 -4
- package/skill/references/video-text-presets.md +16 -16
- package/skill/references/video-text.md +8 -8
package/README.md
CHANGED
|
@@ -17,16 +17,16 @@ The agent writes the video as data: a `project.json` and its files. The engine t
|
|
|
17
17
|
## Quick start
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npx greenlight-motion@0.3.
|
|
21
|
-
npx greenlight-motion@0.3.
|
|
20
|
+
npx greenlight-motion@0.3.2 doctor # Node 18+, Chrome or Edge, WebGPU, H.264: what's missing and how to fix it
|
|
21
|
+
npx greenlight-motion@0.3.2 init my-video # a working starter: index.html, project.json, assets/
|
|
22
22
|
# edit my-video/project.json, put pictures / video / sound in my-video/assets/
|
|
23
23
|
# or: write my-video/script.json (a scene script, skill/references/scene-script.md), then
|
|
24
|
-
npx greenlight-motion@0.3.
|
|
25
|
-
npx greenlight-motion@0.3.
|
|
26
|
-
npx greenlight-motion@0.3.
|
|
27
|
-
npx greenlight-motion@0.3.
|
|
28
|
-
npx greenlight-motion@0.3.
|
|
29
|
-
npx greenlight-motion@0.3.
|
|
24
|
+
npx greenlight-motion@0.3.2 script my-video # script.json → project.json with the Video Editor's own presets
|
|
25
|
+
npx greenlight-motion@0.3.2 check my-video # what to fix: missing files, template mistakes, blank frames, broken plugins
|
|
26
|
+
npx greenlight-motion@0.3.2 stills my-video # frames + a labelled contact sheet, to look at
|
|
27
|
+
npx greenlight-motion@0.3.2 render my-video --fps 60 --motion-blur
|
|
28
|
+
npx greenlight-motion@0.3.2 pack my-video # everything in ONE html file
|
|
29
|
+
npx greenlight-motion@0.3.2 pack my-video --glvideo # ONE .glvideo: double-clicked, it opens in GreenLight Dash
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Also: `trace` (every animated layer's values frame by frame, plus the layer's moments), `set key=value`
|
|
@@ -72,7 +72,7 @@ The engine is one classic script, so it runs from a double-clicked file, a CDN o
|
|
|
72
72
|
|
|
73
73
|
```html
|
|
74
74
|
<div id="app"></div>
|
|
75
|
-
<script src="https://cdn.jsdelivr.net/npm/greenlight-motion@0.3.
|
|
75
|
+
<script src="https://cdn.jsdelivr.net/npm/greenlight-motion@0.3.2/dist/greenlight-motion.js"></script>
|
|
76
76
|
<script>
|
|
77
77
|
GreenLightMotion.mountStudio(document.getElementById('app'), {
|
|
78
78
|
project: { /* project.json */ },
|