Court drills
Four players drill side by side: dribbles, sets and digs, fielding and tennis footwork.
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, HumanPerformance } from "@automovie/motions";
// quin: body m2, at (-2.2, 0) m, facing 0°, trained
const quin = HumanChain.subject("quin")
.act("ballSport", { kind: "dribble", count: 8 })
.act("ballSport", { kind: "throwIn" })
.act("ballSport", { kind: "dribble", count: 8 })
.act("ballSport", { kind: "throwIn" });
// rae: body f1, at (-0.7, 0) m, facing 0°, trained
const rae = HumanChain.subject("rae")
.act("ballSport", { kind: "set" })
.act("ballSport", { kind: "dig" })
.act("ballSport", { kind: "set" })
.act("ballSport", { kind: "dig" })
.act("ballSport", { kind: "set" })
.act("ballSport", { kind: "dig" })
.act("ballSport", { kind: "set" })
.act("ballSport", { kind: "dig" })
.act("ballSport", { kind: "set" });
// sol: body m1, at (0.8, 0) m, facing 0°, trained
const sol = HumanChain.subject("sol")
.act("baseball", { kind: "catcherCrouch", seconds: 2 })
.act("baseball", { kind: "groundBall", seconds: 1.8 })
.act("baseball", { kind: "catcherCrouch", seconds: 2 })
.act("baseball", { kind: "groundBall", seconds: 1.8 });
// tam: body f2, at (2.3, 0) m, facing 0°, trained
const tam = HumanChain.subject("tam")
.act("racket", { kind: "readyPosition", seconds: 1.35 })
.act("racket", { kind: "splitStep", seconds: 1.35 })
.act("racket", { kind: "readyPosition", seconds: 1.35 })
.act("racket", { kind: "splitStep", seconds: 1.35 })
.act("athletics", { seconds: 2, sex: "female" });
const scene = quin.with(rae, sol, tam);
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "court",
performers: [
{ subject: "quin", body: bodies["m2"]!, at: { x: -2.2, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "rae", body: bodies["f1"]!, at: { x: -0.7, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "sol", body: bodies["m1"]!, at: { x: 0.8, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "tam", body: bodies["f2"]!, at: { x: 2.3, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
],
composition: scene.node,
};
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.