Skip to Content

A sled that will not move

An athlete pushes a sled harder and harder, then pulls it, but it never moves.

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, HumanObject, HumanPerformance, HumanStance } from "@automovie/motions";
import * as archetypes from "@automovie/archetypes";

const sled = archetypes.createSled({});
const sledAt = { at: { x: 0, y: 0, z: 0.35 }, yaw: 0, fixed: true };

// ath: body m1, at (0, 0) m, facing 0°, trained
const ath = HumanChain.subject("ath")
  .act("pushPull", {
      prop: "sled",
      way: "push",
      left: "left",
      right: "right",
      load: "light",
      moves: false,
      seconds: 2,
    })
  .registered("neckRoll", { count: 1 })
  .act("pushPull", {
      prop: "sled",
      way: "push",
      left: "left",
      right: "right",
      load: "heavy",
      moves: false,
      seconds: 2,
    })
  .act("gesture", { kind: "shakeHead" })
  .act("pushPull", {
      prop: "sled",
      way: "pull",
      left: "left",
      right: "right",
      load: "moderate",
      moves: false,
      seconds: 2,
    })
  .registered("handsOnHips", { seconds: 1.6 })
  .act("look", {
      target: {
        kind: "point",
        at: { x: 0, y: 0.5, z: 0.35 },
        frame: "world",
      },
      seconds: 1.6,
    })
  .act("gesture", { kind: "shrug" });

const scene = ath;

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

const props = [
  HumanObject.prop("sled", sled, sledAt),
];

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

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