greenlight-motion 0.1.5 → 0.2.1
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/bundle-inputs.json +14 -0
- package/dist/greenlight-motion-script.mjs +3250 -274
- package/dist/greenlight-motion.js +703 -661
- package/dist/greenlight-motion.mjs +41156 -39509
- package/dist/script-inputs.json +8 -0
- package/package.json +2 -2
- package/schema/capabilities.json +1 -1
- package/skill/SKILL.md +43 -12
- package/skill/references/scene-script.md +48 -6
- package/skill/references/video-camera.md +106 -4
- package/skill/references/video-design.md +5 -0
- package/skill/references/video-effects.md +18 -0
- package/skill/references/video-paths.md +33 -2
- package/skill/references/video-projects.md +32 -3
- package/skill/references/video-text-presets.md +31 -1
- package/skill/references/video-text.md +36 -1
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.2.1 doctor # Node 18+, Chrome or Edge, WebGPU, H.264: what's missing and how to fix it
|
|
21
|
+
npx greenlight-motion@0.2.1 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.2.1 script my-video # script.json → project.json with the Video Editor's own presets
|
|
25
|
+
npx greenlight-motion@0.2.1 check my-video # what to fix: missing files, template mistakes, blank frames, broken plugins
|
|
26
|
+
npx greenlight-motion@0.2.1 stills my-video # frames + a labelled contact sheet, to look at
|
|
27
|
+
npx greenlight-motion@0.2.1 render my-video --fps 60 --motion-blur
|
|
28
|
+
npx greenlight-motion@0.2.1 pack my-video # everything in ONE html file
|
|
29
|
+
npx greenlight-motion@0.2.1 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.2.1/dist/greenlight-motion.js"></script>
|
|
76
76
|
<script>
|
|
77
77
|
GreenLightMotion.mountStudio(document.getElementById('app'), {
|
|
78
78
|
project: { /* project.json */ },
|
package/dist/bundle-inputs.json
CHANGED
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
"frontend/src/components/videoEditor/engine/pathFx.js",
|
|
125
125
|
"frontend/src/components/videoEditor/engine/previewMedia.js",
|
|
126
126
|
"frontend/src/components/videoEditor/engine/projectDerive.js",
|
|
127
|
+
"frontend/src/components/videoEditor/engine/recordingCursorPass.js",
|
|
127
128
|
"frontend/src/components/videoEditor/engine/renderTargets.js",
|
|
128
129
|
"frontend/src/components/videoEditor/engine/sequenceComposite.js",
|
|
129
130
|
"frontend/src/components/videoEditor/engine/textPaint.js",
|
|
@@ -134,6 +135,7 @@
|
|
|
134
135
|
"frontend/src/components/videoEditor/fastBlurNodes.js",
|
|
135
136
|
"frontend/src/components/videoEditor/filmStockEffect.js",
|
|
136
137
|
"frontend/src/components/videoEditor/filmStockNodes.js",
|
|
138
|
+
"frontend/src/components/videoEditor/frameResampler.js",
|
|
137
139
|
"frontend/src/components/videoEditor/fresnelRimLayer.js",
|
|
138
140
|
"frontend/src/components/videoEditor/fxProbeBroker.js",
|
|
139
141
|
"frontend/src/components/videoEditor/glassEffect.js",
|
|
@@ -220,12 +222,14 @@
|
|
|
220
222
|
"frontend/src/components/videoEditor/pathStroke.js",
|
|
221
223
|
"frontend/src/components/videoEditor/pathStrokeRenderer.js",
|
|
222
224
|
"frontend/src/components/videoEditor/perfRegistry.js",
|
|
225
|
+
"frontend/src/components/videoEditor/photoSlots.js",
|
|
223
226
|
"frontend/src/components/videoEditor/pixelateEffect.js",
|
|
224
227
|
"frontend/src/components/videoEditor/pixelateNodes.js",
|
|
225
228
|
"frontend/src/components/videoEditor/pointLoupe.js",
|
|
226
229
|
"frontend/src/components/videoEditor/pointPickBroker.js",
|
|
227
230
|
"frontend/src/components/videoEditor/posterizeEffect.js",
|
|
228
231
|
"frontend/src/components/videoEditor/posterizeNodes.js",
|
|
232
|
+
"frontend/src/components/videoEditor/posterizeTime.js",
|
|
229
233
|
"frontend/src/components/videoEditor/presetDirections.js",
|
|
230
234
|
"frontend/src/components/videoEditor/previewAudioMedia.js",
|
|
231
235
|
"frontend/src/components/videoEditor/previewDeviceTier.js",
|
|
@@ -238,6 +242,7 @@
|
|
|
238
242
|
"frontend/src/components/videoEditor/rasterDensityProject.js",
|
|
239
243
|
"frontend/src/components/videoEditor/rasterTracer.js",
|
|
240
244
|
"frontend/src/components/videoEditor/readTargetPixels.js",
|
|
245
|
+
"frontend/src/components/videoEditor/recordingCursor.js",
|
|
241
246
|
"frontend/src/components/videoEditor/regionDistort.js",
|
|
242
247
|
"frontend/src/components/videoEditor/renderBitrate.js",
|
|
243
248
|
"frontend/src/components/videoEditor/renderCache.js",
|
|
@@ -263,12 +268,18 @@
|
|
|
263
268
|
"frontend/src/components/videoEditor/shapeRulersNodes.js",
|
|
264
269
|
"frontend/src/components/videoEditor/silhouetteFraming.js",
|
|
265
270
|
"frontend/src/components/videoEditor/silhouetteFramingNodes.js",
|
|
271
|
+
"frontend/src/components/videoEditor/smartZoom.js",
|
|
272
|
+
"frontend/src/components/videoEditor/smartZoomCamera.js",
|
|
273
|
+
"frontend/src/components/videoEditor/smartZoomCursors.js",
|
|
266
274
|
"frontend/src/components/videoEditor/speedKeyframes.js",
|
|
267
275
|
"frontend/src/components/videoEditor/speedUtils.js",
|
|
268
276
|
"frontend/src/components/videoEditor/stableAtan2.js",
|
|
269
277
|
"frontend/src/components/videoEditor/stableAtan2Glsl.js",
|
|
270
278
|
"frontend/src/components/videoEditor/stripEffect.js",
|
|
271
279
|
"frontend/src/components/videoEditor/stripNodes.js",
|
|
280
|
+
"frontend/src/components/videoEditor/text3d.js",
|
|
281
|
+
"frontend/src/components/videoEditor/text3dGlyphConstants.js",
|
|
282
|
+
"frontend/src/components/videoEditor/text3dGlyphs.js",
|
|
272
283
|
"frontend/src/components/videoEditor/textAnimatorClassicPresets.js",
|
|
273
284
|
"frontend/src/components/videoEditor/textAnimatorConvert.js",
|
|
274
285
|
"frontend/src/components/videoEditor/textAnimatorPresetPatch.js",
|
|
@@ -277,6 +288,7 @@
|
|
|
277
288
|
"frontend/src/components/videoEditor/textAnimators.js",
|
|
278
289
|
"frontend/src/components/videoEditor/textCounter.js",
|
|
279
290
|
"frontend/src/components/videoEditor/textFootprint.js",
|
|
291
|
+
"frontend/src/components/videoEditor/textPathCorners.js",
|
|
280
292
|
"frontend/src/components/videoEditor/textPlaceholders.js",
|
|
281
293
|
"frontend/src/components/videoEditor/threeDisplayTransform.js",
|
|
282
294
|
"frontend/src/components/videoEditor/threeDisplayTransformNodes.js",
|
|
@@ -342,12 +354,14 @@
|
|
|
342
354
|
"frontend/src/motionEngine/studio/notes.js",
|
|
343
355
|
"frontend/src/motionEngine/studio/review.css",
|
|
344
356
|
"frontend/src/motionEngine/studio/review.js",
|
|
357
|
+
"frontend/src/motionEngine/studio/voice.js",
|
|
345
358
|
"frontend/src/motionEngine/template.js",
|
|
346
359
|
"frontend/src/motionEngine/trace.js",
|
|
347
360
|
"frontend/src/motionEngine/useReview.js",
|
|
348
361
|
"frontend/src/platform/compact.js",
|
|
349
362
|
"frontend/src/platform/runtime.js",
|
|
350
363
|
"frontend/src/render-shims/FontFamilySelect.jsx",
|
|
364
|
+
"frontend/src/render-shims/googleFontCatalog.js",
|
|
351
365
|
"frontend/src/sim/particles/bakeWorker.js",
|
|
352
366
|
"frontend/src/sim/particles/client.js",
|
|
353
367
|
"frontend/src/sim/particles/distribution.js",
|