motionrender 0.2.6 → 0.2.8
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/dist/cli.js +114 -26
- package/dist/index.js +27 -15
- package/dist/player.js +21 -21
- package/dist/sfx/ambient-pad.wav +0 -0
- package/dist/sfx/impact.wav +0 -0
- package/dist/sfx/shimmer.wav +0 -0
- package/dist/sfx/sparkle.wav +0 -0
- package/dist/types/packages/cli/src/args.d.ts +1 -0
- package/dist/types/packages/core/src/review.d.ts +2 -0
- package/dist/types/packages/renderer/src/index.d.ts +6 -0
- package/dist/types/packages/schema/src/index.d.ts +1 -1
- package/dist/types/packages/timeline/src/index.d.ts +1 -0
- package/package.json +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -5,5 +5,6 @@ type Spec = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const commandSpecs: Record<string, Spec>;
|
|
7
7
|
export declare const wantsHelp: (argv: string[]) => boolean;
|
|
8
|
+
export declare const wantsVersion: (argv: string[]) => boolean;
|
|
8
9
|
export declare function checkArgs(argv: string[]): string[];
|
|
9
10
|
export {};
|
|
@@ -5,6 +5,7 @@ export type ReviewIssue = {
|
|
|
5
5
|
message: string;
|
|
6
6
|
frame?: number;
|
|
7
7
|
layer?: string;
|
|
8
|
+
suggestion?: Record<string, unknown>;
|
|
8
9
|
};
|
|
9
10
|
export type ReviewResult = {
|
|
10
11
|
issues: ReviewIssue[];
|
|
@@ -31,6 +32,7 @@ export type ReviewOptions = {
|
|
|
31
32
|
concurrency?: number;
|
|
32
33
|
audio?: boolean;
|
|
33
34
|
safeZone?: SafeZone;
|
|
35
|
+
showSafeZones?: boolean;
|
|
34
36
|
onProgress?: (done: number, total: number) => void;
|
|
35
37
|
};
|
|
36
38
|
export type SafeZoneBand = {
|
|
@@ -8,6 +8,12 @@ export type Renderer = {
|
|
|
8
8
|
contactSheet(frames: number[], options?: {
|
|
9
9
|
columns?: number;
|
|
10
10
|
width?: number;
|
|
11
|
+
safeBands?: {
|
|
12
|
+
x0: number;
|
|
13
|
+
y0: number;
|
|
14
|
+
x1: number;
|
|
15
|
+
y1: number;
|
|
16
|
+
}[];
|
|
11
17
|
}): Promise<Buffer>;
|
|
12
18
|
captureFrame(frame: number, output: string): Promise<void>;
|
|
13
19
|
close(): Promise<void>;
|
|
@@ -222,7 +222,7 @@ export declare const spanSchema: z.ZodObject<{
|
|
|
222
222
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
223
223
|
}, z.core.$strip>;
|
|
224
224
|
export declare const blendModes: readonly ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
225
|
-
export declare const sfxNames: readonly ["click", "tick", "pop", "whoosh", "thump", "ding", "riser"];
|
|
225
|
+
export declare const sfxNames: readonly ["click", "tick", "pop", "whoosh", "thump", "ding", "riser", "shimmer", "sparkle", "impact", "ambient-pad"];
|
|
226
226
|
export declare const isBuiltinSound: (src: string) => boolean;
|
|
227
227
|
export declare const builtinSoundName: (src: string) => string;
|
|
228
228
|
export declare const gradeLooks: readonly ["warm", "cool", "cinematic", "teal-orange", "noir", "vivid", "faded"];
|
|
@@ -69,6 +69,7 @@ export type LayerWindow = {
|
|
|
69
69
|
layer: Layer;
|
|
70
70
|
startFrame: number;
|
|
71
71
|
endFrame: number;
|
|
72
|
+
scene?: Composition['scenes'][number];
|
|
72
73
|
};
|
|
73
74
|
export type AudioWindow = LayerWindow;
|
|
74
75
|
export declare function layerWindows(composition: Composition, include: (layer: Layer) => boolean): LayerWindow[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motionrender",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "JSON-first, frame-deterministic motion graphics video engine: render compositions to MP4, WebM, ProRes, GIF or PNG frames from Node or the command line.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -77,4 +77,4 @@
|
|
|
77
77
|
"optional": true
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
}
|
|
80
|
+
}
|