Toasts
Four friends standing in a circle raise their fists as glasses: two clink first, then all four meet at one point.
The packages refuse this scene today, in their own words on the view below. #3552 fixes it.
Computing 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, HumanSocial } from "@automovie/motions";
// ora: body f1, at (0, -0.45) m, facing 0°, trained
const ora = HumanChain.subject("ora")
.act("stand", { seconds: 0.5 });
// pia: body m1, at (0, 0.45) m, facing 180°, trained
const pia = HumanChain.subject("pia")
.act("stand", { seconds: 0.5 });
// raf: body m2, at (-0.45, 0) m, facing 90°, trained
const raf = HumanChain.subject("raf")
.act("stand", { seconds: 0.5 });
// sia: body f2, at (0.45, 0) m, facing 270°, trained
const sia = HumanChain.subject("sia")
.act("stand", { seconds: 0.5 });
const scene = ora.with(pia, raf, sia).next(
HumanChain.mutual(
HumanSocial.toast,
{ host: HumanChain.subject("ora"), guest: HumanChain.subject("pia") },
{},
),
HumanChain.mutual(
HumanSocial.toastOfFour,
{ host: HumanChain.subject("ora"), guest: HumanChain.subject("pia"), third: HumanChain.subject("raf"), fourth: HumanChain.subject("sia") },
{ at: { x: 0, y: 1.25, z: 0 } },
),
);
// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanSocial.fistBump];
// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;
const input: IAutoMovieMotionHumanPerformance.IInput = {
seed: "toasts",
performers: [
{ subject: "ora", body: bodies["f1"]!, at: { x: 0, y: 0, z: -0.45 }, yaw: 0, proficiency: { level: "trained" } },
{ subject: "pia", body: bodies["m1"]!, at: { x: 0, y: 0, z: 0.45 }, yaw: 180, proficiency: { level: "trained" } },
{ subject: "raf", body: bodies["m2"]!, at: { x: -0.45, y: 0, z: 0 }, yaw: 90, proficiency: { level: "trained" } },
{ subject: "sia", body: bodies["f2"]!, at: { x: 0.45, y: 0, z: 0 }, yaw: 270, 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.