Victory lap
The winner celebrates and bumps fists with the runner-up; the third grips his shoulder.
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, HumanGestureRows, HumanPerformance, HumanSocial, HumanStance } from "@automovie/motions";
// w1: body m1, at (0, -5) m, facing 0°, trained
const w1 = HumanChain.subject("w1")
.registered("jog", { to: { x: 0, y: 0, z: 0 }, face: 0 })
.registered("fistPump", {})
.registered("victory", {})
.registered("fistBump", { partner: "w2" })
.registered("gestureWave", { count: 3 })
.registered("fistPump", { count: 2 });
// w2: body f1, at (0.8, 0.3) m, facing 300°, trained
const w2 = HumanChain.subject("w2")
.registered("handsOnHips", { seconds: 1.6 })
.registered("gestureClap", {})
.registered("handsOnHips", { seconds: 1.6 })
.registered("gestureClap", {})
.registered("handsOnHips", { seconds: 1.2 })
.registered("fistBump", { partner: "w1" })
.registered("thumbsUp", {})
.registered("handsOnHips", { seconds: 1.6 })
.registered("gestureClap", {});
// w3: body m2, at (-1.6, 0.05) m, facing 90°, trained
const w3 = HumanChain.subject("w3")
.registered("handsBehindHead", {})
.act("walk", { to: { x: -0.45, y: 0, z: 0.05 }, face: 90 })
.registered("firmPress", {
target: { kind: "person", subject: "w1", region: "shoulderRight" },
})
.act("step", { direction: "back", steps: 2 })
.registered("gestureClap", {})
.registered("handsOnHips", { seconds: 1.2 })
.registered("thumbsUp", {})
.registered("gestureClap", {});
const scene = w1.with(w2, w3);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanGait.jog, HumanStance.fistPump, HumanStance.victory, HumanSocial.fistBump, HumanGestureRows.gestureWave, HumanStance.handsOnHips, HumanGestureRows.gestureClap, HumanEmblem.thumbsUp, HumanStance.handsBehindHead, HumanSocial.firmPress];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "victory",
performers: [
{ subject: "w1", body: bodies["m1"]!, at: { x: 0, y: 0, z: -5 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "w2", body: bodies["f1"]!, at: { x: 0.8, y: 0, z: 0.3 }, yaw: 300, proficiency: { level: "trained" } },
{ subject: "w3", body: bodies["m2"]!, at: { x: -1.6, y: 0, z: 0.05 }, yaw: 90, 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.