Ride out
A rider mounts a standing horse, looks out, waves, points ahead and cheers.
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, HumanObject, HumanPerformance, HumanRide } from "@automovie/motions";
import * as archetypes from "@automovie/archetypes";
const horse = archetypes.createHorse({});
const horseAt = { at: { x: 0, y: 0, z: 0 }, yaw: 90 };
// rid: body f1, at (0, -0.6) m, facing 90°, trained
const rid = HumanChain.subject("rid")
.act("sit", { seat: HumanObject.seat(horse, horseAt) })
.registered("ride", { on: "horse", seconds: 10 })
.over((overlay) =>
overlay
.act("look", {
target: { kind: "point", frame: "world", at: { x: 3, y: 2, z: 3 } },
with: "head",
seconds: 1.5,
})
.act("gesture", { kind: "wave", count: 3 })
.act("gesture", {
kind: "point",
target: {
kind: "point",
frame: "world",
at: { x: 6, y: 1.5, z: -1 },
},
hold: 0.8,
})
.act("gesture", { kind: "cheer" })
);
const scene = rid;
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanRide.ride];
const props = [
HumanObject.prop("horse", horse, horseAt),
];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "ride",
performers: [
{ subject: "rid", body: bodies["f1"]!, at: { x: 0, y: 0, z: -0.6 }, 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.