greenlight-motion 0.1.2 → 0.1.3
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 +11 -11
- package/dist/greenlight-motion.js +93 -93
- package/dist/greenlight-motion.mjs +17194 -17176
- package/package.json +1 -1
- package/skill/SKILL.md +10 -10
- package/skill/references/video-projects.md +20 -9
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.1.
|
|
21
|
-
npx greenlight-motion@0.1.
|
|
20
|
+
npx greenlight-motion@0.1.3 doctor # Node 18+, Chrome or Edge, WebGPU, H.264: what's missing and how to fix it
|
|
21
|
+
npx greenlight-motion@0.1.3 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.1.
|
|
25
|
-
npx greenlight-motion@0.1.
|
|
26
|
-
npx greenlight-motion@0.1.
|
|
27
|
-
npx greenlight-motion@0.1.
|
|
28
|
-
npx greenlight-motion@0.1.
|
|
29
|
-
npx greenlight-motion@0.1.
|
|
24
|
+
npx greenlight-motion@0.1.3 script my-video # script.json → project.json with the Video Editor's own presets
|
|
25
|
+
npx greenlight-motion@0.1.3 check my-video # what to fix: missing files, template mistakes, blank frames, broken plugins
|
|
26
|
+
npx greenlight-motion@0.1.3 stills my-video # frames + a labelled contact sheet, to look at
|
|
27
|
+
npx greenlight-motion@0.1.3 render my-video --fps 60 --motion-blur
|
|
28
|
+
npx greenlight-motion@0.1.3 pack my-video # everything in ONE html file
|
|
29
|
+
npx greenlight-motion@0.1.3 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.1.
|
|
75
|
+
<script src="https://cdn.jsdelivr.net/npm/greenlight-motion@0.1.3/dist/greenlight-motion.js"></script>
|
|
76
76
|
<script>
|
|
77
77
|
GreenLightMotion.mountStudio(document.getElementById('app'), {
|
|
78
78
|
project: { /* project.json */ },
|
|
@@ -109,8 +109,8 @@ artifact's `downloads` capability.
|
|
|
109
109
|
## GreenLight Dash
|
|
110
110
|
|
|
111
111
|
A project made here opens in the desktop editor for full editing: the page's **Open in GreenLight
|
|
112
|
-
Dash** imports it as a new project. The editor's **Export for agents** works the other way
|
|
113
|
-
|
|
112
|
+
Dash** imports it as a new project. The editor's **Export for agents** works the other way: one
|
|
113
|
+
`.glvideo` file to open in a Claude chat, or a ready folder with this page for an agent. MotionFast templates and effect packages with their own image or video files
|
|
114
114
|
play in GreenLight Dash only. The page shows such layers but leaves them out.
|
|
115
115
|
|
|
116
116
|
## License
|