@motionhub/oms 0.0.0-stage → 0.1.0
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 +31 -2
- package/dist/LICENSE +201 -0
- package/dist/OFL.txt +91 -0
- package/dist/example/film.tsx +97 -0
- package/dist/film-format.md +53 -0
- package/dist/player.js +1 -0
- package/dist/resources/preview/core.js +66 -0
- package/dist/resources/preview/pick.js +1 -0
- package/dist/starter.tsx +35 -0
- package/dist/worker.cjs +2980 -0
- package/oms.mjs +225 -0
- package/package.json +34 -3
- package/skills/oms/SKILL.md +25 -0
- package/skills/oms/references/assets.md +15 -0
- package/skills/oms/references/craft.md +49 -0
- package/skills/oms/references/drawing.md +29 -0
- package/skills/oms/references/look.md +35 -0
- package/skills/oms/references/review.md +33 -0
package/oms.mjs
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { constants, existsSync } from 'node:fs';
|
|
3
|
+
import { cp, copyFile, mkdir, mkdtemp, readdir, rm, writeFile } from 'node:fs/promises';
|
|
4
|
+
import { createRequire } from 'node:module';
|
|
5
|
+
import { homedir, tmpdir } from 'node:os';
|
|
6
|
+
import { dirname, join, relative, resolve, sep } from 'node:path';
|
|
7
|
+
import { fileURLToPath } from 'node:url';
|
|
8
|
+
import { parseArgs } from 'node:util';
|
|
9
|
+
|
|
10
|
+
const root = dirname(fileURLToPath(import.meta.url));
|
|
11
|
+
const usage = 'oms install <claude|codex> | init <folder> | check <folder> [--json] | still <folder> --at <seconds> --out <new.png> | render <folder> --out <new.mp4> | player <folder> --out <new folder> | pack <folder> [--out <file.oms>] | preview <folder> [--port <n>] | motion search <words…> [--json] | motion use <@scope/slug> <folder> | sound <folder> --cues <at:role,…> --seconds <s> --out <new.wav> [--motion <id>] | font <folder> --family <name[:400,700]>… [--weights 400,700] | voice <folder> [--recording <file> [--transcribe <minimax|openai|elevenlabs>]] | voice --list <minimax|elevenlabs|openai|azure>';
|
|
12
|
+
|
|
13
|
+
/** `oms motion search <words…> [--json]` and `oms motion use <@scope/slug> <folder>`: motions from motionhub, on demand. */
|
|
14
|
+
async function motion(args) {
|
|
15
|
+
const { values, positionals } = parseArgs({ args, options: { json: { type: 'boolean' } }, allowPositionals: true });
|
|
16
|
+
const [action, ...rest] = positionals;
|
|
17
|
+
const worker = createRequire(import.meta.url)(join(root, 'dist/worker.cjs'));
|
|
18
|
+
if (action === 'search') {
|
|
19
|
+
const found = await worker.searchMotions(rest.join(' '));
|
|
20
|
+
if (values.json) return console.log(JSON.stringify(found));
|
|
21
|
+
if (!found.length) return console.log(`No motion has any of those words. The words motions are tagged with: ${(await worker.motionWords()).slice(0, 40).join(', ')}. Or run oms motion search with none to list them all.`);
|
|
22
|
+
for (const m of found) console.log(`${m.id}: ${m.name}. ${m.line}${m.fit ? ` For: ${m.fit}` : ''}`);
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
if (action === 'use' && rest.length === 2) {
|
|
26
|
+
const used = await worker.useMotion(resolve(rest[1]), rest[0]);
|
|
27
|
+
return console.log(`Took ${used.id} into ${used.path}. Read its MOTION.md and tokens.json before drawing in it.`);
|
|
28
|
+
}
|
|
29
|
+
throw new Error(usage);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* `oms sound <folder> --cues <at:role,…> --seconds <s> --out <new.wav> [--motion <id>]`: the project's motion's sound
|
|
34
|
+
* for those cues, a track the film's length, written as a new WAV inside the project (--out is a path from the current
|
|
35
|
+
* directory, as still's and render's are) for a <Sound> to play.
|
|
36
|
+
*/
|
|
37
|
+
async function sound(args) {
|
|
38
|
+
const { values, positionals } = parseArgs({ args, options: { cues: { type: 'string' }, seconds: { type: 'string' }, out: { type: 'string' }, motion: { type: 'string' } }, allowPositionals: true });
|
|
39
|
+
if (positionals.length !== 1 || !values.cues || !values.seconds || !values.out?.toLowerCase().endsWith('.wav')) throw new Error(usage);
|
|
40
|
+
const dir = resolve(positionals[0]);
|
|
41
|
+
// Like still's and render's, --out is a path from where oms runs; the track must be inside the project.
|
|
42
|
+
const file = resolve(values.out);
|
|
43
|
+
if (!file.startsWith(dir + sep)) throw new Error(`${file} is outside the project ${dir}: a film plays only its own files. Give a path inside it, as "${join(positionals[0], 'media', 'effects.wav')}".`);
|
|
44
|
+
if (existsSync(file)) throw new Error(`${file} is there already: name a new file.`);
|
|
45
|
+
const worker = createRequire(import.meta.url)(join(root, 'dist/worker.cjs'));
|
|
46
|
+
const { motion, wav, report } = await worker.effectsTrack(dir, worker.parseCues(values.cues), Number(values.seconds), values.motion);
|
|
47
|
+
await mkdir(dirname(file), { recursive: true });
|
|
48
|
+
await writeFile(file, wav, { flag: 'wx' });
|
|
49
|
+
const src = relative(dir, file).split(sep).join('/');
|
|
50
|
+
const db = (value) => (value === -Infinity ? 'silent' : `${value.toFixed(1)} dBFS`);
|
|
51
|
+
console.log(`Wrote ${src} from ${motion}'s sound (roles: ${report.roles.join(', ')}). Play it across the film: <Sound src="${src}" />`);
|
|
52
|
+
console.log(`Track: peak ${db(report.peak)}, average ${db(report.rms)}.`);
|
|
53
|
+
for (const cue of report.cues) console.log(` ${cue.at}s ${cue.role}${cue.dur ? ` (${cue.dur}s)` : ''}: peak ${db(cue.peak)}${cue.silent ? ' <- not heard: its voice made no sound here' : ''}`);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* `oms font <folder> --family <name> [--weights 400,700]`: a face from Google Fonts cut to the characters the project
|
|
58
|
+
* writes, into its media/fonts/ with its licence; run again when the words change.
|
|
59
|
+
*/
|
|
60
|
+
async function font(args) {
|
|
61
|
+
const { values, positionals } = parseArgs({ args, options: { family: { type: 'string', multiple: true }, weights: { type: 'string' } }, allowPositionals: true });
|
|
62
|
+
if (positionals.length !== 1 || !values.family?.length) throw new Error(usage);
|
|
63
|
+
const dir = resolve(positionals[0]);
|
|
64
|
+
if (!existsSync(join(dir, 'film.tsx'))) throw new Error(`${dir} holds no film.tsx: name the project folder.`);
|
|
65
|
+
const weightsOf = (text) => text.split(',').map((w) => Number(w.trim()));
|
|
66
|
+
// Each --family as "Name" (in --weights, 400 and 700 without) or "Name:300,500".
|
|
67
|
+
const asked = values.family.map((given) => {
|
|
68
|
+
const at = given.lastIndexOf(':');
|
|
69
|
+
return at > 0 ? { family: given.slice(0, at), weights: weightsOf(given.slice(at + 1)) } : { family: given, weights: weightsOf(values.weights ?? '400,700') };
|
|
70
|
+
});
|
|
71
|
+
const worker = createRequire(import.meta.url)(join(root, 'dist/worker.cjs'));
|
|
72
|
+
const { readFile } = await import('node:fs/promises');
|
|
73
|
+
const ofl = await readFile(worker.OFL, 'utf8');
|
|
74
|
+
const name = (file) => file.replace(/^.*\//, '').replace(/\.ttf$/, '').replace(/-/g, '_').replace(/^(\d)/, '_$1');
|
|
75
|
+
const declared = [];
|
|
76
|
+
for (const { family, weights } of asked) {
|
|
77
|
+
const { files, characters, licence } = await worker.takeFont(dir, family, weights, ofl);
|
|
78
|
+
console.log(`Wrote ${files.join(', ')}: ${family} cut to the ${characters} characters the project writes (${licence}).`);
|
|
79
|
+
for (const file of files.filter((f) => f.endsWith('.ttf'))) declared.push({ family, file, weight: /-(\d+)\.ttf$/.exec(file)[1] });
|
|
80
|
+
}
|
|
81
|
+
console.log('Run this again when the words change. Declare them where the film draws:');
|
|
82
|
+
for (const { file } of declared) console.log(` import ${name(file)} from './${file}';`);
|
|
83
|
+
console.log(' <style>{`');
|
|
84
|
+
for (const { family, file, weight } of declared) console.log(` @font-face { font-family: '${family}'; font-weight: ${weight}; src: url(\${${name(file)}}); }`);
|
|
85
|
+
console.log(' `}</style>');
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* `oms voice <folder>`: the film's lines spoken in its <Film voice> into voice/, only those whose words changed, with the
|
|
90
|
+
* key from the environment. `oms voice --list <provider>`: the voices that provider offers.
|
|
91
|
+
*/
|
|
92
|
+
async function voice(args) {
|
|
93
|
+
const { values, positionals } = parseArgs({ args, options: { list: { type: 'string' }, recording: { type: 'string' }, transcribe: { type: 'string' } }, allowPositionals: true });
|
|
94
|
+
const worker = createRequire(import.meta.url)(join(root, 'dist/worker.cjs'));
|
|
95
|
+
if (values.list) {
|
|
96
|
+
if (positionals.length || !Object.hasOwn(worker.VOICE_ENV, values.list)) throw new Error(usage);
|
|
97
|
+
// A tab after the voice, which may hold blanks and brackets itself (minimax:Chinese (Mandarin)_News_Anchor).
|
|
98
|
+
for (const choice of await worker.voices(values.list)) console.log(`${values.list}:${choice.id}${choice.name && choice.name !== choice.id ? `\t${choice.name}` : ''}${choice.language ? `\t(${choice.language})` : ''}`);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
if (positionals.length !== 1 || (values.transcribe && !values.recording)) throw new Error(usage);
|
|
102
|
+
const dir = resolve(positionals[0]);
|
|
103
|
+
const scratch = await mkdtemp(join(tmpdir(), 'oms-voice-'));
|
|
104
|
+
try {
|
|
105
|
+
if (values.recording) {
|
|
106
|
+
const done = await worker.record(dir, scratch, resolve(values.recording), values.transcribe, (text) => console.error(text));
|
|
107
|
+
return console.log(worker.recordingReport(done, values.recording).join('\n'));
|
|
108
|
+
}
|
|
109
|
+
const done = await worker.voice(dir, scratch, (n, of) => process.stderr.isTTY && process.stderr.write(`\rSpeaking ${n}/${of}`));
|
|
110
|
+
if (process.stderr.isTTY) process.stderr.write('\n');
|
|
111
|
+
console.log(`Spoke ${done.spoken} line${done.spoken === 1 ? '' : 's'} (${done.characters} characters, ${done.seconds.toFixed(1)} s of speech) into voice/; ${done.kept} kept as they were. Run oms check: each voiced line now lasts as long as its speech.`);
|
|
112
|
+
} finally {
|
|
113
|
+
await rm(scratch, { recursive: true, force: true, maxRetries: 4 });
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
async function run() {
|
|
118
|
+
const [command, ...args] = process.argv.slice(2);
|
|
119
|
+
if (!command || command === '--help') return console.log(usage);
|
|
120
|
+
if (command === 'motion') return motion(args);
|
|
121
|
+
if (command === 'sound') return sound(args);
|
|
122
|
+
if (command === 'font') return font(args);
|
|
123
|
+
if (command === 'voice') return voice(args);
|
|
124
|
+
const options = command === 'still' ? { at: { type: 'string' }, out: { type: 'string' } }
|
|
125
|
+
: command === 'render' || command === 'player' || command === 'pack' ? { out: { type: 'string' } }
|
|
126
|
+
: command === 'preview' ? { port: { type: 'string' } }
|
|
127
|
+
: command === 'check' ? { json: { type: 'boolean' } } : {};
|
|
128
|
+
const { values, positionals } = parseArgs({ args, options, allowPositionals: true });
|
|
129
|
+
if (positionals.length !== 1) throw new Error(usage);
|
|
130
|
+
const [target] = positionals;
|
|
131
|
+
if (command === 'install') {
|
|
132
|
+
const homes = { claude: process.env.CLAUDE_CONFIG_DIR || join(homedir(), '.claude'),
|
|
133
|
+
codex: process.env.CODEX_HOME || join(homedir(), '.codex') };
|
|
134
|
+
if (!Object.hasOwn(homes, target)) throw new Error(usage);
|
|
135
|
+
const skills = join(homes[target], 'skills');
|
|
136
|
+
const dest = join(skills, 'oms');
|
|
137
|
+
await mkdir(skills, { recursive: true });
|
|
138
|
+
await mkdir(dest).catch(error => {
|
|
139
|
+
if (error.code === 'EEXIST') throw new Error(`OMS is already installed in ${dest}. To install this version, move that folder aside and run this again.`);
|
|
140
|
+
throw error;
|
|
141
|
+
});
|
|
142
|
+
try {
|
|
143
|
+
await cp(join(root, 'skills/oms'), dest, { recursive: true });
|
|
144
|
+
await copyFile(join(root, 'dist/film-format.md'), join(dest, 'film-format.md'));
|
|
145
|
+
await cp(join(root, 'dist/example'), join(dest, 'example'), { recursive: true });
|
|
146
|
+
} catch (error) {
|
|
147
|
+
await rm(dest, { recursive: true, force: true });
|
|
148
|
+
throw error;
|
|
149
|
+
}
|
|
150
|
+
return console.log(dest);
|
|
151
|
+
}
|
|
152
|
+
const dir = resolve(target);
|
|
153
|
+
if (command === 'init') {
|
|
154
|
+
await mkdir(dir, { recursive: true });
|
|
155
|
+
if ((await readdir(dir)).length) throw new Error('Choose an empty or new project folder.');
|
|
156
|
+
await copyFile(join(root, 'dist/starter.tsx'), join(dir, 'film.tsx'), constants.COPYFILE_EXCL);
|
|
157
|
+
// What oms and the Studio make beside the film, never its own media: renders, their subtitles and stills at the top
|
|
158
|
+
// of the folder, and the Studio's state.
|
|
159
|
+
await writeFile(join(dir, '.gitignore'), '/*.mp4\n/*.srt\n/*.png\n.motion-studio/\n', { flag: 'wx' });
|
|
160
|
+
return console.log(dir);
|
|
161
|
+
}
|
|
162
|
+
if (command === 'pack') {
|
|
163
|
+
// The film as one file for the Studio's Import (ADR 0019): beside the folder unless --out names another place.
|
|
164
|
+
const out = resolve(values.out ?? `${dir}.oms`);
|
|
165
|
+
const worker = createRequire(import.meta.url)(join(root, 'dist/worker.cjs'));
|
|
166
|
+
const { files, bytes } = await worker.pack(dir, out);
|
|
167
|
+
console.log(out);
|
|
168
|
+
return console.error(`Packed ${files} file${files === 1 ? '' : 's'} (${(bytes / 1024 / 1024).toFixed(1)} MB). In OpenMotionStudio, Import project opens it as a new project; renders, stills and the Studio's state are left out.`);
|
|
169
|
+
}
|
|
170
|
+
if (!['still', 'check', 'render', 'player', 'preview'].includes(command)) throw new Error(usage);
|
|
171
|
+
if (command === 'player' && !values.out) throw new Error(usage);
|
|
172
|
+
const port = values.port === undefined ? 4173 : Number(values.port);
|
|
173
|
+
if (command === 'preview' && !(Number.isInteger(port) && port > 0 && port < 65536)) throw new Error(usage);
|
|
174
|
+
if (command === 'render') {
|
|
175
|
+
if (!values.out?.toLowerCase().endsWith('.mp4')) throw new Error(usage);
|
|
176
|
+
// A render is moved into place whole; it never replaces a video, or the subtitles beside it.
|
|
177
|
+
const subtitles = resolve(values.out).replace(/\.mp4$/i, '') + '.srt';
|
|
178
|
+
for (const file of [resolve(values.out), subtitles]) if (existsSync(file)) throw new Error(`${file} is there already: name a new file.`);
|
|
179
|
+
}
|
|
180
|
+
if (command === 'still' && (!values.at?.trim() || !Number.isFinite(Number(values.at)) || !values.out?.toLowerCase().endsWith('.png'))) throw new Error(usage);
|
|
181
|
+
// The worker builds the film with the Studio's own code and draws it in headless Chrome (worker.ts, chrome.ts).
|
|
182
|
+
const worker = createRequire(import.meta.url)(join(root, 'dist/worker.cjs'));
|
|
183
|
+
const scratch = await mkdtemp(join(tmpdir(), 'oms-preview-'));
|
|
184
|
+
try {
|
|
185
|
+
if (command === 'render') {
|
|
186
|
+
let shown = -1;
|
|
187
|
+
// Ctrl-C stops the render cleanly: its Chromes closed, its finished segments kept for the next run.
|
|
188
|
+
const stop = new AbortController();
|
|
189
|
+
process.once('SIGINT', () => stop.abort());
|
|
190
|
+
await worker.render(dir, scratch, resolve(values.out), (done) => {
|
|
191
|
+
const percent = Math.floor(done * 100);
|
|
192
|
+
if (percent !== shown && process.stderr.isTTY) process.stderr.write(`\rRendering ${(shown = percent)}%`);
|
|
193
|
+
}, stop.signal);
|
|
194
|
+
if (process.stderr.isTTY) process.stderr.write('\n');
|
|
195
|
+
return console.log(resolve(values.out));
|
|
196
|
+
}
|
|
197
|
+
if (command === 'player') {
|
|
198
|
+
const { soundtrack } = await worker.player(dir, scratch, resolve(values.out));
|
|
199
|
+
console.log(resolve(values.out));
|
|
200
|
+
return console.error(`A web player${soundtrack ? ', with its soundtrack' : ''}: put the folder on any static web host and open index.html, or open it here with \`oms preview "${target}"\`.`);
|
|
201
|
+
}
|
|
202
|
+
if (command === 'preview') {
|
|
203
|
+
const stop = await worker.preview(dir, scratch, port, (text) => console.error(text));
|
|
204
|
+
console.log(`http://127.0.0.1:${port}/`);
|
|
205
|
+
console.error('Playing; it builds again when a file in the project changes. Ctrl-C stops it.');
|
|
206
|
+
await new Promise((done) => process.once('SIGINT', done));
|
|
207
|
+
return await stop();
|
|
208
|
+
}
|
|
209
|
+
if (command === 'still') {
|
|
210
|
+
const png = await worker.still(dir, scratch, Number(values.at));
|
|
211
|
+
await writeFile(resolve(values.out), png, { flag: 'wx' });
|
|
212
|
+
return console.log(resolve(values.out));
|
|
213
|
+
}
|
|
214
|
+
const review = await worker.check(dir, scratch);
|
|
215
|
+
if (values.json) console.log(JSON.stringify(review));
|
|
216
|
+
else {
|
|
217
|
+
console.log(`Checked ${review.checkedFrames} frames${review.film ? ' of ' + review.film.seconds + 's' : ''}.`);
|
|
218
|
+
for (const issue of review.issues) console.log(`${issue.severity}: ${issue.text}`);
|
|
219
|
+
}
|
|
220
|
+
if (review.issues.some(issue => issue.severity === 'error')) process.exitCode = 1;
|
|
221
|
+
} finally {
|
|
222
|
+
await rm(scratch, { recursive: true, force: true, maxRetries: 4 });
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
run().catch(error => { console.error(error.message); process.exitCode = 1; });
|
package/package.json
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motionhub/oms",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Make motion videos from Claude Code or Codex: author, check, still and render OpenMotionStudio films.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/motionhubdev/openmotionstudio.git",
|
|
9
|
+
"directory": "apps/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/motionhubdev/openmotionstudio/tree/main/apps/cli#readme",
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"oms": "oms.mjs"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"oms.mjs",
|
|
20
|
+
"dist",
|
|
21
|
+
"skills",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22.12.0"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@motionhub/cli": "0.8.1",
|
|
29
|
+
"@puppeteer/browsers": "3.2.7",
|
|
30
|
+
"esbuild": "0.28.2",
|
|
31
|
+
"three": "0.187.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"vitest": "5.1.0"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {}
|
|
6
37
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: oms
|
|
3
|
+
description: Make, inspect, revise or render OpenMotionStudio (OMS) motion videos from a brief and local assets, end to end to an MP4. Use for requests to make a video with OMS, to render or update an existing film.tsx, or to create a project to refine in Studio, in any language.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Making a film is a creative task. It is finished when someone who has not read the script would be glad to publish it, not when `oms check` is clean. Each scene needs a visual idea of its own subject (a metaphor, a drawing driven by its data, one object that transforms, a move of the frame) and motion that carries meaning.
|
|
7
|
+
|
|
8
|
+
Read the bundled [film format](film-format.md) first, then the [example film](example/film.tsx) (copy its structure, not its look). Read each reference below when its step comes.
|
|
9
|
+
|
|
10
|
+
## Order of work
|
|
11
|
+
|
|
12
|
+
1. **Start or read.** For an existing project, read film.tsx, its parts, media and motion rules, and keep edits and identifiers outside the request; reread the on-disk source on every later turn. For a new one run `oms init "<new folder>"`.
|
|
13
|
+
2. **Facts, then script.** Gather what the film says; never invent a figure. Write the lines for 75 to 90 percent of the length asked, one idea a line ([craft](references/craft.md), "Script").
|
|
14
|
+
3. **Board each scene before drawing it.** Its lines; its base picture as layers with boxes in px; for each line, what changes and when. Think of at least two ideas that differ in kind and take the one a newcomer would understand.
|
|
15
|
+
4. **Settle the look.** By default the film has a look of its own: write it in `parts/kit.tsx` from the subject's own world ([look](references/look.md)), its faces taken with `oms font` (a Chinese film needs one for its script; import its files by the paths it prints). Use a motion only when the project already has one or the person asks for one by name or by look ("in ink-scroll", "use a motion"): then find it with `oms motion search <words>` (motions with any of the words, those with more first; it lists the words motions are tagged with when none matches) and take it with `oms motion use <@scope/slug> "<folder>"` (downloaded then, once). Do not search motionhub otherwise.
|
|
16
|
+
5. **Draw one scene, look at it, then the rest.** Write no second scene before the first has passed `oms check` and you have looked at a still of it: what is wrong with one scene (sizes, the layout, the faces, the caption) is then fixed once, not in every scene. film.tsx holds the scenes, layers and lines; each scene's picture is its own `parts/<scene>.tsx` ([drawing](references/drawing.md)). After the first scene is drawn and looked at, draw the others simply, so a whole plain film exists within the first third of your time, then improve the weakest scenes. A complete plain film is a video; a half-polished one is not.
|
|
17
|
+
6. **Sound, when the film wants it.** Music the person gives goes into `media/` with its licence noted ([assets](references/assets.md)). Effects come from `oms sound`, in the motion's own sound when the film draws in one and in oms's own otherwise: list the moments the picture makes as cues, in the roles the sound has (of `land`, `move`, `draw`, `count`, `cut`, `out`; `oms sound` names them and refuses any other) and run `oms sound "<folder>" --cues "1.2:land, 3.4:move:0.6" --seconds <film.seconds from `oms check --json`> --out "<folder>/media/effects.wav"` (`--out` is a path from where you run it, as for `still` and `render`), then play it across the film with `<Sound src="media/effects.wav" />`, as it comes mixed, 3 to 6 dB lower under music. Read the levels it prints: a cue marked not heard needs another role ([craft](references/craft.md), "Sound"). A new `--out` each time the cues change. **A narration, when the person asks for one**: give `<Film>` its voice (`voice="minimax:male-qn-jingying"`, for Chinese a MiniMax voice, for English an ElevenLabs one; take the name from `oms voice --list`, which is what the account offers), finish the words first (each spoken line is paid for), run `oms voice "<folder>"`, then `oms check`: each voiced line now lasts as long as its speech, so fit the scenes and the picture to it, and use `<Film captions="words">` to light each word as it is said. A person who reads it themselves records one take of the lines, as written, and `oms voice "<folder>" --recording <file>` cuts it into the lines, in `<Film voice="recording:take">`: what to ask them for, and how to read what it prints (a line read otherwise is cut all the same, its caption showing the written words), are in [craft](references/craft.md), "Sound".
|
|
18
|
+
7. **Review in rounds, at most three.** A round is `oms check "<folder>" --json`, stills where you doubt, and one pass of fixes ([review](references/review.md)). Fix everything a viewer would notice in a scene in one edit.
|
|
19
|
+
8. **Render and report.** `oms render "<folder>" --out "<new path>.mp4"` needs the person's ffmpeg; if it says ffmpeg is missing or incomplete, pass on its install command. It also writes the lines as an `.srt` beside the MP4, and as a subtitle track in it only when the film does not draw them as captions. Return the MP4, the project folder and the duration. When the person wants the film on the web, `oms player "<folder>" --out "<new folder>"` writes a folder any static host plays without a render, or its index.html opened from disk (`oms preview "<folder>"` plays it on this machine and follows changes). The folder also opens in Studio, with its Import project action, for refining by hand; to send it to the Studio on another machine, or to a person, `oms pack "<folder>"` writes it as one film file beside it (`<folder>.oms`, without renders, stills or the Studio's state), which the Studio's Import project opens as a new project.
|
|
20
|
+
|
|
21
|
+
Assets the person gives or you fetch follow [assets](references/assets.md).
|
|
22
|
+
|
|
23
|
+
## In this host
|
|
24
|
+
|
|
25
|
+
The first `oms check`, `still`, `render` or `voice` downloads the Chrome it draws in once (about 100 MB, unless HyperFrames or Puppeteer already has it), and each may say Chrome runs without its sandbox where it cannot start one: neither is an error. The film format names the Studio's tools: here `check` is `oms check`, `still` is `oms still "<folder>" --at <seconds> --out "<new path>.png"` (a time strictly before the film's end; a new path each time), `search_motions` is `oms motion search`, `use_motion` is `oms motion use`, `list_voices` is `oms voice --list <minimax|elevenlabs|openai|azure>` and `voice_lines` is `oms voice "<folder>"`. A voice provider is set up not in Models but by its key in the environment oms runs in (`MINIMAX_API_KEY`, with `MINIMAX_REGION=china` or `MINIMAX_BASE_URL=https://api.minimaxi.com` for an account on minimaxi.com; `ELEVENLABS_API_KEY`; `OPENAI_API_KEY`; `AZURE_SPEECH_KEY` with `AZURE_SPEECH_REGION`): if the one the film needs is missing, `oms voice` says which variable, and you ask the person to set it; never ask for a key in the conversation or write one anywhere.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Assets: what you may use, and where it goes
|
|
2
|
+
|
|
3
|
+
## What you may keep
|
|
4
|
+
|
|
5
|
+
Public domain, CC0, CC BY with its attribution, CC BY-SA with its share-alike, for a font the SIL Open Font License (keep its licence file beside it; `oms font` writes it), or a brand kit whose terms allow the use. Never "free to look at", never a file of unknown origin, never a hotlink: a film loads only the project's own files. A licence you cannot name is a reason not to use the file. No book covers, film stills or portraits of real people without a licence that allows them.
|
|
6
|
+
|
|
7
|
+
Write each fetched file's source page and licence in a comment where the film imports it, and list the credits the licences ask for where the person will publish them.
|
|
8
|
+
|
|
9
|
+
## Where it goes
|
|
10
|
+
|
|
11
|
+
- Into `media/`, under a lower-case, hyphenated name for what it shows (`media/rocket-launch.jpg`). Reuse a file already there before fetching again.
|
|
12
|
+
- Note each image's size and aspect: they decide the layout.
|
|
13
|
+
- Prefer a photograph of the real place or event; draw what has no photograph.
|
|
14
|
+
- Cut a video clip to the seconds the film needs before using it.
|
|
15
|
+
- Line art reads on any ground when it is ink-coloured on a transparent ground and cropped. Never a figure or a word drawn into an illustration: words are drawn by the film, in its faces.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Craft: script, motion, pacing, sound, honesty
|
|
2
|
+
|
|
3
|
+
## Script
|
|
4
|
+
|
|
5
|
+
- Write for 75 to 90 percent of the length asked, not a fraction of it. Read at about 2.8 words a second in English and 4.5 characters a second in Chinese: 45 seconds is about 120 words, in four or five scenes. A narrated film is longer than its speech: each voiced line waits 0.4 s before it, and each scene holds a second after its last, so count those in (eight lines in four scenes add about 7 s).
|
|
6
|
+
- One `<Line>` a sentence, one idea a sentence. The lines are the script and the subtitles, so write them as words someone reads with the sound off.
|
|
7
|
+
- Never draw the spoken sentence word for word: the caption carries it. Layers carry what a viewer wants to keep in view: a heading, a key line, figures, labels, a formula.
|
|
8
|
+
- On screen a label is a phrase, a key line one or two short lines, a figure a number and its name.
|
|
9
|
+
|
|
10
|
+
## Motion
|
|
11
|
+
|
|
12
|
+
- **The stage is in use as soon as a scene has entered.** By half a second in every layer draws its base state (low bars, a faint curve, the outline); empty axes or a frame waiting for a word are not a picture, and a frame with only a title is unfinished.
|
|
13
|
+
- **One main change a line**, when that line names its subject. Without word times, place it in the line's share of the scene (its `at`, or its slot when the scene's lines share it evenly). A fact is never on screen before its line starts.
|
|
14
|
+
- **Motion means something.** An arrival says "here is a new thing", a growth "this quantity", a slide or morph "this became that", a draw "this leads there". A quantity changes by counting up or growing a bar: `Math.round(interpolate(t, [a, b], [0, 76], {easing: Easing.outQuart, clamp: true}))`. Motion that pulls the eye from what the line is about is decoration; leave it out.
|
|
15
|
+
- **Ease everything**, and clamp: pass `easing` and `clamp: true` to every `interpolate`. Only time itself moves at a constant speed (`Easing.linear`).
|
|
16
|
+
- **Scenes enter**: fade or rise each scene's layers over about half a second (`interpolate(t, [0, 0.5], …)`), from the same ground: keep a film-level ground layer the scenes' colour, so a cut never flashes another one. The cover is the exception (Pacing).
|
|
17
|
+
- **One focus at a time.** The rest stays quiet, or dims the same way each time. What a line replaces leaves before the new thing arrives; before and after share a frame only when the line compares them; things that merge go into each other without overprinting.
|
|
18
|
+
- **Every object has a reason** the lines give, and goes once that reason is past. A layer lives for its whole scene, so "goes" is a fade inside it.
|
|
19
|
+
- **A picture continues; it is not redrawn.** One that runs over several lines is one layer whose numbers move with time. One that carries into the next scene is the same component there, starting where the last scene left it, or a layer in `<Film>`.
|
|
20
|
+
- **Show the thing, not a label for it**: a command with what it prints, a file by its contents, a formula with each term lit as it is named, a feeling by a metaphor, a familiar product or kind of thing beside its name.
|
|
21
|
+
|
|
22
|
+
## Pacing
|
|
23
|
+
|
|
24
|
+
- **At least two seconds on screen** from when a thing appears to when it goes; a flash only when the flash is the point.
|
|
25
|
+
- **Hold the end**: a scene's motion ends a second or more before its `duration`, so its last picture holds.
|
|
26
|
+
- **The cover**: frame 0 is the thumbnail. The first scene shows its title picture at t = 0 with no fade (one illustration, one big figure, one short line, nothing else), and the film moves on a few seconds in.
|
|
27
|
+
- **A photo holds eight seconds at most**: move it slowly (an interpolated `scale` or `x`) or cut.
|
|
28
|
+
|
|
29
|
+
## Sound
|
|
30
|
+
|
|
31
|
+
A film's sound is a narration when the person asks for one (`oms voice`, below), music the person gives, and effects from `oms sound`: its motion's sound when it draws in one, oms's own when it does not.
|
|
32
|
+
|
|
33
|
+
- **Effects follow the picture**, one cue for each thing a viewer should feel happen, not one for every element: `land` when something arrives and settles, `move` for a slide, morph or camera move (with its length, `at:move:dur`), `draw` for a stroke drawn on (with its length), `count` as a figure counts up, `cut` at a scene's change, `out` as something leaves. Take the times from your board: the moment, not the start of a long ease. An effect that tells the viewer nothing the picture does not is noise; leave it out.
|
|
34
|
+
- **The roles are the sound's**: oms's own has all six; a motion's sound gives some of them, not always all; `oms sound` names the ones it has and refuses a cue for any other. Pick the nearest it has (a `move` for something leaving when it has no `out`).
|
|
35
|
+
- **One track**: `oms sound` renders every cue into one WAV as long as the film, in the motion's own sound (its `react/sound.json`), or in oms's own, plain and with no bed, when the project has no motion. A sound with a `bed` plays it, a soft tone under the whole film, beneath its hits: that is the motion's, not a fault. The track comes mixed, so play it as it is, `<Sound src="media/effects.wav" />` directly in `<Film>` (the -6 to -10 dB of film-format.md is for a single effect file of your own); under music, take it down 3 to 6 dB (`volume={-4}`). `oms sound` prints the track's peak and each cue's own (without the bed, before the next cue): a cue it marks not heard made no sound, so change its role. Change a cue, render a new track under a new name, and point the `<Sound>` at it.
|
|
36
|
+
- **Music**: a bed under everything, `<Sound src="media/music.mp3" loop volume={-16} fadeIn={1} fadeOut={3} />`, between -18 and -14 dB, in from the start or once the title has landed, out a few seconds after the last line. With a narration give it `duck={10}`, which sinks it while a line is said; without one, keep it low enough for the effects to read over it.
|
|
37
|
+
- **Narration**: the lines are what it says, so write them to be heard: short sentences, numbers as they are said in the words it speaks and as they are written in its `text`, which the caption shows (`<Line id="rise" text="升高了 1.5 °C">升高了一点五摄氏度</Line>`), about 4.5 Chinese characters or 2.5 English words a second. `oms voice` speaks each line whose words changed into `voice/` and keeps the rest; each clip is levelled to -16 LUFS (the whole film, with effects and music over it, measures louder, near -14), so play effects under it 3 to 6 dB lower than without. A voiced line lasts as long as its speech, after a lead of 0.4 s (the scene's first line) or a hold of 0.4 s (the others): give it no `dur`, let `oms check` say which speech is cut short, and lengthen that scene rather than cut the words (speech cut short loses the words past the cut, and their times). A voiced line may take an `at` to start sooner or later than that, in order and without overlapping. Time what the picture does to what is said with `useLine(id)` (its `{start, end, words}` in the scene's time; in Chinese each word is one character, so find a phrase by its characters).
|
|
38
|
+
- **A narration the person records**: finish the lines first, then ask for one take of them in order, as written (the `text` where a line has one, read as it is said), in any file ffmpeg reads (m4a, mp3, wav). Pauses between lines, silence before the first and a filler between lines ("嗯", "um") do no harm; a line left out or read too differently does. Keep the take outside the project folder, or out of git. Give `<Film>` `voice="recording:take"` (`take` is a name for the take, any name, not its file's; changing it means importing again) and run `oms voice "<folder>" --recording "<file>"`. It transcribes the take with the first key the environment holds of MiniMax, OpenAI and ElevenLabs (`--transcribe <provider>` picks one; it costs what the provider charges for the take's length, once: the transcript is kept by the file's hash, and the output says when it was used), matches it to the lines character by character and cuts one clip a line into `voice/`. Read what it prints:
|
|
39
|
+
- A line read less than 75 percent as written stops it, writing nothing, with what was heard: they record it again, or you write the line as they said it.
|
|
40
|
+
- Every other line read otherwise is still cut, and listed with each difference (`"一瞬间" heard as "一眨眼"`, `added "嗯"`). Its caption shows the written words, timed by what was said, so a changed word is on screen but not in the sound. A transcriber spells homophones and numbers its own way (`地` as `的`, `3` as `三`): those are not differences to fix. For a real one, write the line as it was said and run the import again; the transcript is kept, so nothing is paid.
|
|
41
|
+
- Words said between the lines are left out of every clip and listed with their times. A filler that shares letters with the next line (English more than Chinese) can instead be taken into that line and shows as one of its differences.
|
|
42
|
+
- You cannot hear the film: keep levels where these numbers put them, read what `oms sound` and `oms voice` print, and say in your report that the sound is unheard.
|
|
43
|
+
|
|
44
|
+
## Honest pictures
|
|
45
|
+
|
|
46
|
+
- A figure on screen carries its scope (who, how many, which task) on the same screen, and is attributed to its source.
|
|
47
|
+
- Results from different experiments are not drawn on one axis without saying so.
|
|
48
|
+
- A calculation is labelled as one; an illustration says it is one.
|
|
49
|
+
- A range that crosses its reference value is drawn hollow, not as a result.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Drawing: layout, data, recipes, determinism
|
|
2
|
+
|
|
3
|
+
## Layout and data
|
|
4
|
+
|
|
5
|
+
- Lay out inside a layer with CSS flex and grid, not hand-placed coordinates.
|
|
6
|
+
- Data drives the picture: bars, ticks and dots are a `.map` over a table, positioned by a scale function; a key comes from the same table.
|
|
7
|
+
- Draw with SVG; HTML for text; a canvas only for thousands of particles. three.js (provided) for real 3D: create the renderer once with `preserveDrawingBuffer: true`, render once a frame in a `useLayoutEffect` keyed on `useTime()`, and keep every word in HTML over the canvas.
|
|
8
|
+
|
|
9
|
+
## Recipes (inside a layer, `const t = useTime()`)
|
|
10
|
+
|
|
11
|
+
- **Count up**: `const n = Math.round(interpolate(t, [0.5, 2], [0, 76], {easing: Easing.outQuart, clamp: true}))`.
|
|
12
|
+
- **Stagger a series**: offset each item's window by its index, `interpolate(t, [0.4 + i * 0.12, 0.9 + i * 0.12], [0, 1], {easing: Easing.outCubic, clamp: true})`, or wrap each in `<Sequence from={0.4 + i * 0.12}>`.
|
|
13
|
+
- **A stroke that draws itself**: `const draw = interpolate(t, [1, 2.5], [0, 1], {easing: Easing.inOutCubic, clamp: true})`, then `<path strokeDasharray={len} strokeDashoffset={len * (1 - draw)} />`.
|
|
14
|
+
- **Typing**: `text.slice(0, Math.round(interpolate(t, [0, 2], [0, text.length], {clamp: true})))`.
|
|
15
|
+
- **A slow move on a photo**: `transform: scale(${interpolate(t, [0, 8], [1, 1.08], {easing: Easing.inOutSine})})`.
|
|
16
|
+
- **A long film's chapter rail**: a layer in `<Film>`, filled by `useCompositionTime()` against the scenes' spans.
|
|
17
|
+
|
|
18
|
+
## Formulas
|
|
19
|
+
|
|
20
|
+
Variables in italic; `<sup>` and `<sub>` for powers and indices; a fraction is a column over a rule. Each term is its own element, lit on the line that names it. The lines say what a term means; they do not read the formula out.
|
|
21
|
+
|
|
22
|
+
## Determinism
|
|
23
|
+
|
|
24
|
+
Beyond film-format.md (time from `useTime()` only, `seededRandom`, no clocks or CSS animations):
|
|
25
|
+
- Round computed positions to whole pixels (`Math.round`) for crisp edges.
|
|
26
|
+
- Draw an arrow as one filled shape, not a line and a head.
|
|
27
|
+
- Use only the font weights the face has.
|
|
28
|
+
- Drive three.js from `useTime()`, never from its own clock or loop.
|
|
29
|
+
- Keep a growing shape's scale off exactly 0 when it must be seen.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# The look: kit, type, frame, colour
|
|
2
|
+
|
|
3
|
+
## A look of the film's own
|
|
4
|
+
|
|
5
|
+
- A film has a look of its own unless the project already draws in a motion or the person asks for one; do not search motionhub for a look nobody asked for.
|
|
6
|
+
- A project's motion decides colour, type and timing by its tokens; its rules are binding (film-format.md, "Motions"). When the person asks for a look change, decide first whether it belongs to the motion or to this film, and ask when it is unclear.
|
|
7
|
+
- Without a motion, write the look in `parts/kit.tsx` before drawing: a comment with one look line taken from the subject's own world ("an observatory's star chart at night; ground #0D1320, ink #EEF2F8, one accent #F2B44C for the comet; a serif at 600 for headings"), then the palette `C`, the type scale `T`, a shared `Frame` component and the caption's tokens, `{caption: {font, size, weight, color, background, …}}` in the film's face and colours, lengths as numbers of pixels, which film.tsx passes to a `<MotionScope>` around its `<Film>` (without them a caption draws black on nothing). A look from the subject's world holds together; an adjective ("modern", "clean") leaves the choice to a default.
|
|
8
|
+
- The ground is a layer in `<Film>`, drawn across every scene.
|
|
9
|
+
|
|
10
|
+
## Type
|
|
11
|
+
|
|
12
|
+
- A motion's type scale comes first: its sizes, as its `MOTION.md` and tokens give them, even below the defaults here. Without one: four or five sizes in all, weight and colour doing the rest; headlines 84 px or more, other text 40 px or more (film-format.md), key text 80 px from the frame's sides.
|
|
13
|
+
- Name only faces the film loads (its motion's, or one declared from the project's files). For a face of your own, or a motion's that its download does not carry, `oms font "<folder>" --family "Noto Sans SC" --weights 400,700` takes it from Google Fonts cut to the characters the project writes (`--family` again for each other face, as `--family "Big Shoulders Display:700"`), into `media/fonts/` with its licence, and prints the `@font-face` to declare; run it again whenever the words change, and `check` names any character it lacks. A family that is not loaded draws in the machine's fallback, so frames differ between machines, and so does every character the loaded faces lack (Chinese after a Latin face): load a face for each script the film writes. `check` names both. Never look for fonts on the system.
|
|
14
|
+
- Large lowercase letters in a sans face can read as capitals; set such a name in the mono face.
|
|
15
|
+
|
|
16
|
+
## The frame
|
|
17
|
+
|
|
18
|
+
- **One thing first** in each scene, taking at least a third of the stage; size a hero picture to 70 percent of the width or more.
|
|
19
|
+
- **The same frame in every scene**: the heading, the key line and the figure sit in the same layer boxes throughout (the kit's `Frame`), so the eye knows where to look.
|
|
20
|
+
- **Clear of the caption**: with `<Film captions>`, keep text and key graphics out of the bottom sixth of the frame (below about y 900 of 1080 at the default caption size; in portrait, below about y 1450 of 1920; scale it with a motion's `caption` tokens).
|
|
21
|
+
- **Pointers read at once**: an arrow, bracket or callout sits where the viewer sees what it refers to; a label that seems to belong to nothing confuses.
|
|
22
|
+
|
|
23
|
+
## Colour and surface
|
|
24
|
+
|
|
25
|
+
- One accent for the focus; one meaning a colour through the whole film; the rest dimmed the same way each time.
|
|
26
|
+
- Atmosphere at 15 to 25 percent opacity: less vanishes in a video.
|
|
27
|
+
- Surfaces separate the figure from the ground: a panel, a shadow, a radial glow. A full-frame linear gradient on a dark ground bands in an MP4; use a radial one or a flat fill.
|
|
28
|
+
|
|
29
|
+
## Avoid
|
|
30
|
+
|
|
31
|
+
Small things floating in a dark void; glow, neon and particles as decoration; everything centred, or fading in at once; three cards in a row; corner labels and HUD frames as ornament. Never what a slide deck would give.
|
|
32
|
+
|
|
33
|
+
## Portrait (9:16)
|
|
34
|
+
|
|
35
|
+
A portrait film is its own film, not a landscape one squeezed: shorter (30 to 45 seconds, one idea), one figure and one short line a scene, laid out top to bottom in 1080 × 1920: the title in about y 150 to 370, the figure large in about y 400 to 1440, the caption below it (with `<Film captions>`, the caption's `bottom` about 280, so it sits around y 1520 to 1640, its text kept 64 px from the sides), and the last 200 px empty: platforms put their name and buttons there.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Review: what to look at, and how
|
|
2
|
+
|
|
3
|
+
## Text first, then pictures
|
|
4
|
+
|
|
5
|
+
`check` sees layers against the frame and against each other, not what overlaps inside one layer (a label over a curve, a figure clipped by its own box): those only a still shows. Read `oms check "<folder>" --json` first: build and drawing errors, layers past the frame, placed layers that overlap, text past the frame's edge (a component's coordinates are its layer's, not the frame's), faces the film asks for but never loads, and every character, captions included, that the faces it loads lack (each draws in the machine's fallback; the check sees only the frames it draws), and the film's outline (each scene's `start` and `duration`, each line's `start` and `end`, in the film's seconds). Open a picture only for what the text cannot tell you.
|
|
6
|
+
|
|
7
|
+
Every picture you read stays in your conversation and is sent again with every later step. Read each still once; never cut, crop or enlarge pictures with scripts of your own (each copy is one more picture); give every `oms still` a new `--out` name, since a viewer can show a cached image.
|
|
8
|
+
|
|
9
|
+
## Where to take stills
|
|
10
|
+
|
|
11
|
+
- 85 percent of the way through each line (`start + 0.85 * (end - start)`): what a line names has normally appeared by then.
|
|
12
|
+
- Just after each scene starts (its base picture), and just before the film's end.
|
|
13
|
+
- Times strictly before the film's end.
|
|
14
|
+
|
|
15
|
+
## The questions, as a viewer who has not seen the plan
|
|
16
|
+
|
|
17
|
+
1. Is the thing the line is about on screen, and big enough to read on a phone?
|
|
18
|
+
2. Is the stage in use: more than a title, more than empty axes, more than a list of bullet points?
|
|
19
|
+
3. Is anything cut off, past an edge, under the caption, or overlapping by accident?
|
|
20
|
+
4. Could a slide deck have made this?
|
|
21
|
+
5. Does it keep the motion's rules (its MOTION.md, its Avoid list)?
|
|
22
|
+
|
|
23
|
+
## Rounds
|
|
24
|
+
|
|
25
|
+
A round is one check, the stills you doubt, and one pass of fixes; at most three rounds. Fix everything a viewer would notice in a scene in one edit, then move on.
|
|
26
|
+
|
|
27
|
+
## An independent reviewer (optional)
|
|
28
|
+
|
|
29
|
+
When your host can start a subagent, and the film is long or you cannot read images, give a fresh one only: the still paths with each one's time, scene and line; one line a scene saying what it should show; the motion's `MOTION.md`. Not film.tsx, not your own verdict. Ask it for:
|
|
30
|
+
|
|
31
|
+
> Look at each picture as a viewer who has not seen the plan. Answer in at most eight lines, worst first, each as `P0|P1 · t=<seconds> · where on screen · the problem → the exact change · what must stay`. P0 is what a viewer would notice at once (missing, unreadable, cut off, empty); P1 is what makes it look unfinished. With nothing to report, answer "no problems". No praise, no summary. Edit nothing.
|
|
32
|
+
|
|
33
|
+
For a film of figures, a second fresh reviewer gets the sources and checks each figure against them, and the picture against the words, by the rules in craft.md, "Honest pictures".
|