Vault hall
One gymnast tumbles a floor line; the other vaults the box twice onto a mat.
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, HumanGymnastics, HumanObject, HumanPerformance, HumanSport, HumanSportThrow } from "@automovie/motions";
import * as archetypes from "@automovie/archetypes";
const box = archetypes.createPlyoBox({ kind: "wood" });
const boxAt = { at: { x: 0, y: 0, z: 1 }, yaw: 90 };
const mat = archetypes.createExerciseMat({ kind: "gym" });
const matAt = { at: { x: 1.4, y: 0, z: 1 }, yaw: 90 };
// eun: body f1, at (-3, -3.5) m, facing 90°, trained
const eun = HumanChain.subject("eun")
.act("gesture", { kind: "raiseHand" })
.registered("cartwheelRight", {})
.registered("roundOffRight", {})
.act("stand", { seconds: 0.3 })
.registered("frontHandspring", {})
.registered("handstand", {})
.act("gesture", { kind: "cheer" });
// flo: body f2, at (-1.5, 1) m, facing 90°, trained
const flo = HumanChain.subject("flo")
.act("gesture", { kind: "raiseHand" })
.registered("handspringVault", { on: "box", landOn: "mat" })
.registered("jog", { to: { x: -0.3, y: 0, z: 2.2 } })
.registered("jog", { to: { x: -1.5, y: 0, z: 1 }, face: 90 })
.registered("handspringVault", { on: "box", landOn: "mat" })
.act("gesture", { kind: "raiseHand" });
const scene = eun.with(flo);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanSportThrow.cartwheelRight, HumanGymnastics.roundOffRight, HumanGymnastics.frontHandspring, HumanSport.handstand, HumanGymnastics.handspringVault, HumanGait.jog];
const props = [
HumanObject.prop("box", box, boxAt),
HumanObject.prop("mat", mat, matAt),
];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "vault-hall",
performers: [
{ subject: "eun", body: bodies["f1"]!, at: { x: -3, y: 0, z: -3.5 }, yaw: 90, proficiency: { level: "trained" } },
{ subject: "flo", body: bodies["f2"]!, at: { x: -1.5, y: 0, z: 1 }, 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.