@motionhub/oms 0.0.0-stage → 0.2.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 +38 -2
- package/dist/LICENSE +201 -0
- package/dist/OFL.txt +91 -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 +3144 -0
- package/oms.mjs +235 -0
- package/package.json +34 -3
- package/skills/oms/SKILL.md +27 -0
- package/skills/oms/example/film.tsx +97 -0
- package/skills/oms/film-format.md +54 -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
|
@@ -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 film writes, words it imports from outside the project included (`--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".
|