Parade
Six soldiers march, double-time, halt, stand at parade rest and salute.
Loading the take.
Each person is a chain of typed actions from @automovie/motions. This is what an agent writes for the scene; Composing motion explains the parts.
import type { IAutoMovieMotionHumanBody, IAutoMovieMotionHumanPerformance } from "@automovie/interface";
import { HumanChain, HumanEmblem, HumanGait, HumanPerformance, HumanStance } from "@automovie/motions";
// s1: body m1, at (-1, 0) m, facing 0°, trained
const s1 = HumanChain.subject("s1")
.registered("march", { to: { x: -1, y: 0, z: 5 } })
.registered("doubleTime", { to: { x: -1, y: 0, z: 7.5 } })
.registered("march", { to: { x: -1, y: 0, z: 10 } })
.act("stand", { seconds: 0.8, sway: 0 })
.registered("paradeRest", { seconds: 1.5 })
.act("stand", { seconds: 0.6, sway: 0 })
.registered("salute", {});
// s2: body m2, at (0, 0) m, facing 0°, trained
const s2 = HumanChain.subject("s2")
.registered("march", { to: { x: 0, y: 0, z: 5 } })
.registered("doubleTime", { to: { x: 0, y: 0, z: 7.5 } })
.registered("march", { to: { x: 0, y: 0, z: 10 } })
.act("stand", { seconds: 0.8, sway: 0 })
.registered("paradeRest", { seconds: 1.5 })
.act("stand", { seconds: 0.6, sway: 0 })
.registered("salute", {});
// s3: body f1, at (1, 0) m, facing 0°, trained
const s3 = HumanChain.subject("s3")
.registered("march", { to: { x: 1, y: 0, z: 5 } })
.registered("doubleTime", { to: { x: 1, y: 0, z: 7.5 } })
.registered("march", { to: { x: 1, y: 0, z: 10 } })
.act("stand", { seconds: 0.8, sway: 0 })
.registered("paradeRest", { seconds: 1.5 })
.act("stand", { seconds: 0.6, sway: 0 })
.registered("salute", {});
// s4: body f2, at (-1, -0.9) m, facing 0°, trained
const s4 = HumanChain.subject("s4")
.registered("march", { to: { x: -1, y: 0, z: 4.1 } })
.registered("doubleTime", { to: { x: -1, y: 0, z: 6.6 } })
.registered("march", { to: { x: -1, y: 0, z: 9.1 } })
.act("stand", { seconds: 0.8, sway: 0 })
.registered("paradeRest", { seconds: 1.5 })
.act("stand", { seconds: 0.6, sway: 0 })
.registered("salute", {});
// s5: body m1, at (0, -0.9) m, facing 0°, trained
const s5 = HumanChain.subject("s5")
.registered("march", { to: { x: 0, y: 0, z: 4.1 } })
.registered("doubleTime", { to: { x: 0, y: 0, z: 6.6 } })
.registered("march", { to: { x: 0, y: 0, z: 9.1 } })
.act("stand", { seconds: 0.8, sway: 0 })
.registered("paradeRest", { seconds: 1.5 })
.act("stand", { seconds: 0.6, sway: 0 })
.registered("salute", {});
// s6: body m2, at (1, -0.9) m, facing 0°, trained
const s6 = HumanChain.subject("s6")
.registered("march", { to: { x: 1, y: 0, z: 4.1 } })
.registered("doubleTime", { to: { x: 1, y: 0, z: 6.6 } })
.registered("march", { to: { x: 1, y: 0, z: 9.1 } })
.act("stand", { seconds: 0.8, sway: 0 })
.registered("paradeRest", { seconds: 1.5 })
.act("stand", { seconds: 0.6, sway: 0 })
.registered("salute", {});
const scene = s1.with(s2, s3, s4, s5, s6);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanGait.march, HumanGait.doubleTime, HumanStance.paradeRest, HumanEmblem.salute];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "parade",
performers: [
{ subject: "s1", body: bodies["m1"]!, at: { x: -1, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "s2", body: bodies["m2"]!, at: { x: 0, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "s3", body: bodies["f1"]!, at: { x: 1, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "s4", body: bodies["f2"]!, at: { x: -1, y: 0, z: -0.9 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "s5", body: bodies["m1"]!, at: { x: 0, y: 0, z: -0.9 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "s6", body: bodies["m2"]!, at: { x: 1, y: 0, z: -0.9 }, yaw: 0, proficiency: { level: "trained" } },
],
composition: scene.node,
laws,
};
const performance = new HumanPerformance(input);Each person's actions on the film clock, with their named instants, as the engine placed them.
The timeline appears when the take is drawn.
The same composition in 4 takes on the player's clock. Each changes one choice and keeps the rest; the other takes are computed in this page, which takes a few seconds.