Dance circle
Three dancers in a circle bounce, sway and step-touch in turn, then box-step together.
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";
// ny: body f1, at (0, 0) m, facing 0°, trained
const ny = HumanChain.subject("ny")
.act("dance", { kind: "bounce", bpm: 112, beats: 6 })
.act("dance", { kind: "stepTouch", bpm: 112, beats: 6 })
.act("dance", { kind: "sway", bpm: 112, beats: 6 })
.act("dance", { kind: "boxStep", bpm: 112, beats: 6 });
// ol: body m1, at (1.04, 1.8) m, facing 240°, trained
const ol = HumanChain.subject("ol")
.act("dance", { kind: "sway", bpm: 112, beats: 6 })
.act("dance", { kind: "bounce", bpm: 112, beats: 6 })
.act("dance", { kind: "stepTouch", bpm: 112, beats: 6 })
.act("dance", { kind: "boxStep", bpm: 112, beats: 6 });
// pia: body f2, at (-1.04, 1.8) m, facing 120°, trained
const pia = HumanChain.subject("pia")
.act("dance", { kind: "stepTouch", bpm: 112, beats: 6 })
.act("dance", { kind: "sway", bpm: 112, beats: 6 })
.act("dance", { kind: "bounce", bpm: 112, beats: 6 })
.act("dance", { kind: "boxStep", bpm: 112, beats: 6 });
const scene = ny.with(ol, pia);
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "dance-circle",
performers: [
{ subject: "ny", body: bodies["f1"]!, at: { x: 0, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "ol", body: bodies["m1"]!, at: { x: 1.04, y: 0, z: 1.8 }, yaw: 240, proficiency: { level: "trained" } },
{ subject: "pia", body: bodies["f2"]!, at: { x: -1.04, y: 0, z: 1.8 }, yaw: 120, 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.