Volleyball
Three times over, a dig, a set and a spike, each met by a jumping blocker.
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, HumanPerformance, HumanSport, HumanSportSwing, HumanStance } from "@automovie/motions";
// v1: body f1, at (-1, -1) m, facing 0°, trained
const v1 = HumanChain.subject("v1")
.registered("readyPosition", { seconds: 0.3 })
.registered("volleyDig", {}, "vb-dig1")
.registered("readyPosition", { seconds: 0.35 })
.registered("volleyDig", {}, "vb-dig2")
.registered("readyPosition", { seconds: 0.35 })
.registered("volleyDig", {}, "vb-dig3")
.registered("readyPosition", { seconds: 0.9 })
.registered("fistPump", { count: 2 });
// v2: body f2, at (0, 0) m, facing 0°, trained
const v2 = HumanChain.subject("v2")
.registered("readyPosition", { seconds: 0.3 })
.act("stand", { seconds: 1.5 })
.registered("volleySet", {}, "vb-set1")
.sync({ of: "vb-dig1", event: "stroke", offset: 0.15 })
.registered("bounce", { beats: 1 })
.act("stand", { seconds: 1.5 })
.registered("volleySet", {}, "vb-set2")
.sync({ of: "vb-dig2", event: "stroke", offset: 0.15 })
.registered("bounce", { beats: 1 })
.act("stand", { seconds: 1.5 })
.registered("volleySet", {}, "vb-set3")
.sync({ of: "vb-dig3", event: "stroke", offset: 0.15 })
.registered("readyPosition", { seconds: 0.2 })
.registered("victory", {});
// v3: body m1, at (1, 0.2) m, facing 0°, trained
const v3 = HumanChain.subject("v3")
.registered("bounce", { beats: 5 })
.act("stand", { seconds: 1.5 })
.registered("spike", {}, "vb-spike1")
.sync({ of: "vb-set1", event: "stroke", offset: 0.65 })
.act("step", { direction: "back", steps: 1 })
.registered("bounce", { beats: 2 })
.act("stand", { seconds: 1.5 })
.registered("spike", {}, "vb-spike2")
.sync({ of: "vb-set2", event: "stroke", offset: 0.65 })
.act("step", { direction: "back", steps: 1 })
.registered("bounce", { beats: 2 })
.act("stand", { seconds: 1.5 })
.registered("spike", {}, "vb-spike3")
.sync({ of: "vb-set3", event: "stroke", offset: 0.65 })
.act("step", { direction: "back", steps: 1 })
.registered("fistPump", { count: 3 });
// v4: body m2, at (1.5, 2.6) m, facing 180°, trained
const v4 = HumanChain.subject("v4")
.registered("bounce", { beats: 5 })
.act("stand", { seconds: 1.5 })
.act("jump", { to: { x: 1.5, y: 0, z: 2.4 } })
.sync({ of: "vb-spike1", event: "stroke", offset: -0.44 })
.act("step", { direction: "back", steps: 1 })
.registered("bounce", { beats: 1 })
.act("stand", { seconds: 1 })
.act("jump", { to: { x: 1.5, y: 0, z: 2.4 } })
.sync({ of: "vb-spike2", event: "stroke", offset: -0.44 })
.act("step", { direction: "back", steps: 1 })
.registered("bounce", { beats: 1 })
.act("stand", { seconds: 1 })
.act("jump", { to: { x: 1.5, y: 0, z: 2.4 } })
.sync({ of: "vb-spike3", event: "stroke", offset: -0.44 })
.registered("handsOnHips", { seconds: 1 })
.registered("dontKnow", {});
const scene = v1.with(v2, v3, v4);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanSport.readyPosition, HumanSport.volleyDig, HumanStance.fistPump, HumanSport.volleySet, HumanSport.bounce, HumanStance.victory, HumanSportSwing.spike, HumanStance.handsOnHips, HumanEmblem.dontKnow];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "volleyball",
performers: [
{ subject: "v1", body: bodies["f1"]!, at: { x: -1, y: 0, z: -1 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "v2", body: bodies["f2"]!, at: { x: 0, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "v3", body: bodies["m1"]!, at: { x: 1, y: 0, z: 0.2 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "v4", body: bodies["m2"]!, at: { x: 1.5, y: 0, z: 2.6 }, 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.