mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
Proved by bench/direction/proof/proof.sh: five checks that import nothing of Bevy's (a lyric layer over footage, a footage cut, a cue in a mix, a caption in a vertical ad, a rider on a 3D seat), each passing its piece and failing its cheat, and a taste line failing the ad's cheat as the named check of its form. Fixed on the way: a text's box grows over words drawn past it (the caption cheat passed); a word a cut passes through is in each clip's words (the cut cheat passed); a Part carries its own box before its transform, so a turned part is tested as turned; the help reads `[A|B]` as one argument. Copies folded rather than added: a command's words (apps/check, now also raea workspace's), the printed report and exit code, the person's taste folder, a controller read from JSON (core/brief, now also apps/workspace's), and a path made plain (runtime/bundle's). The spec's lines that the code showed wrong are fixed beside them: --stage moves to DR10, a note's checks to DR6, and the rule field from DR8 to DR4.
19 lines
899 B
TypeScript
19 lines
899 B
TypeScript
// DR4's proof, the edit's cheat: the same two pieces with the same length of shot, the first cut out of the take in
|
|
// the middle of "two" (1.5 s) and the second into it in the middle of "three" (2.5 s). checks/cut.ts must fail it.
|
|
import { AbsoluteFill, Composition, Sequence, Video, registerRoot } from "raea";
|
|
|
|
function Edit() {
|
|
return (
|
|
<AbsoluteFill style={{ background: "#000" }}>
|
|
<Sequence from={0} durationInFrames={45} name="a">
|
|
<Video src="media/take.mp4" startFrom={0} endAt={45} style={{ width: 540, height: 960 }} />
|
|
</Sequence>
|
|
<Sequence from={45} durationInFrames={15} name="b">
|
|
<Video src="media/take.mp4" startFrom={75} endAt={90} style={{ width: 540, height: 960 }} />
|
|
</Sequence>
|
|
</AbsoluteFill>
|
|
);
|
|
}
|
|
|
|
registerRoot(() => <Composition id="cut-cheat" component={Edit} width={540} height={960} fps={30} durationInFrames={60} />);
|