Skip to Content

Hands down and up

An athlete goes down onto both palms, one palm, then hands and knees, standing each time.

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, HumanStance } from "@automovie/motions";

// ath: body m1, at (0, 0) m, facing 0°, trained
const ath = HumanChain.subject("ath")
  .act("support", {
      stances: [
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
        ],
      },
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
          { part: "leftHand", kind: "bear" },
          { part: "rightHand", kind: "bear" },
        ],
      },
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
        ],
      },
      ],
    })
  .act("gesture", { kind: "rubHands" })
  .act("support", {
      stances: [
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
        ],
      },
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
          { part: "rightHand", kind: "bear" },
        ],
      },
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
        ],
      },
      ],
    })
  .registered("neckRoll", { count: 1 })
  .act("support", {
      stances: [
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
        ],
      },
        {
        contacts: [
          { part: "leftKnee", kind: "bear" },
          { part: "rightKnee", kind: "bear" },
          { part: "leftHand", kind: "bear" },
          { part: "rightHand", kind: "bear" },
        ],
      },
        {
        contacts: [
          { part: "leftFoot", kind: "bear" },
          { part: "rightFoot", kind: "bear" },
        ],
      },
      ],
    })
  .act("gesture", { kind: "nod" });

const scene = ath;

// The lexicon's laws this scene's rows perform, registered with the performance.
const laws = [HumanStance.neckRoll];

// Each body id's motion body, prepared from the site's measures.
declare const bodies: Record<string, IAutoMovieMotionHumanBody>;

const input: IAutoMovieMotionHumanPerformance.IInput = {
  seed: "hands-down-and-up",
  performers: [
    { subject: "ath", body: bodies["m1"]!, at: { x: 0, y: 0, z: 0 }, yaw: 0, proficiency: { level: "trained" } },
  ],
  composition: scene.node,
  laws,
};
const performance = new HumanPerformance(input);