Carried off
A guest wilts in the heat, and a firefighter hurries over and carries her 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 { HumanCarried, HumanChain, HumanGait, HumanHabit, HumanPerformance, HumanPose, HumanSocial } from "@automovie/motions";
// fir: body m2, at (0, -4.5) m, facing 0°, trained
const fir = HumanChain.subject("fir")
.act("look", {
target: {
kind: "point",
frame: "world",
at: { x: 0, y: 1.3, z: 0.35 },
},
with: "trunk",
cue: "seen",
}, "faint-seen")
.registered("hurry", { to: { x: 0, y: 0, z: 0 } })
.registered("comfort", {
target: { kind: "person", subject: "gst", region: "shoulderLeft" },
})
.act("walk", { to: { x: 0, y: 0, z: -5.5 } }, "carry")
.over((overlay) =>
overlay
.registered("bearing", { carry: "overShoulder", seconds: 6.5 })
);
// gst: body f1, at (0, 0.35) m, facing 180°, trained
const gst = HumanChain.subject("gst")
.registered("fanSelf", {})
.act("gesture", { kind: "touchFace", region: "forehead" })
.registered("wince", {})
.registered("borne", { by: "fir", carry: "overShoulder", seconds: 6.5, lift: 1 })
.sync({ of: "carry" });
const scene = fir.with(gst);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanGait.hurry, HumanSocial.comfort, HumanCarried.bearing, HumanHabit.fanSelf, HumanPose.wince, HumanCarried.borne];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "carried-off",
performers: [
{ subject: "fir", body: bodies["m2"]!, at: { x: 0, y: 0, z: -4.5 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "gst", body: bodies["f1"]!, at: { x: 0, y: 0, z: 0.35 }, yaw: 180, 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.