Left luggage
An attendant hands a traveller his tote over the counter, and the traveller hurries off.
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, HumanGait, HumanHabit, HumanObject, HumanPerformance } from "@automovie/motions";
import * as archetypes from "@automovie/archetypes";
const counter = archetypes.createTable({ kind: "counter" });
const counterAt = { at: { x: 0, y: 0, z: 0.65 }, yaw: 180 };
const bag = archetypes.createBag({ kind: "tote" });
const bagAt = { at: { x: -0.18, y: 0.914, z: 0.42 }, yaw: 90 };
// att: body m2, at (0, 0.12) m, facing 0°, trained
const att = HumanChain.subject("att")
.registered("rubEyes", {})
.act("look", {
with: "trunk",
cue: "seen",
target: { kind: "person", subject: "trv", region: "face" },
seconds: 1.5,
})
.act("gesture", { kind: "nod" })
.act("pickUp", { prop: "bag", handle: "handle" })
.act("handOver", { prop: "bag", to: "trv", handle: "strap" })
.act("gesture", { kind: "wave", count: 2 })
.act("wipe", {
on: {
kind: "point",
at: { x: -0.15, y: 0.914, z: 0.37 },
frame: "world",
},
cycles: 3,
});
// trv: body m2, at (-0.75, 0.05) m, facing 90°, trained
const trv = HumanChain.subject("trv")
.registered("checkWatch", {})
.act("gesture", { kind: "raiseHand", side: "left" })
.act("receive", { prop: "bag", from: "att", handle: "strap" })
.act("gesture", { kind: "nod" })
.act("gesture", { kind: "wave", side: "left", count: 2 })
.registered("hurry", { to: { x: -2.2, y: 0, z: -0.5 } });
const scene = att.with(trv);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanHabit.rubEyes, HumanHabit.checkWatch, HumanGait.hurry];
const props = [
HumanObject.prop("counter", counter, counterAt),
HumanObject.prop("bag", bag, bagAt),
];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "left-luggage",
performers: [
{ subject: "att", body: bodies["m2"]!, at: { x: 0, y: 0, z: 0.12 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "trv", body: bodies["m2"]!, at: { x: -0.75, y: 0, z: 0.05 }, yaw: 90, proficiency: { level: "trained" } },
],
composition: scene.node,
props,
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.