AutoMovie API
    Preparing search index...

    Function createRack

    • A squat rack: two uprights, each with a hook a barbell rests on.

      It stands on the floor with the middle of its footprint at the origin, the uprights on either side of X, the hooks reaching toward -Z, where the lifter stands. rest is the place between the two hooks where the bar's middle lies, on the bar's axis, with +Y up.

      Parameters

      • params: createRack.IParams

        The kind and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws every dimension left free inside its band; absent, each takes the middle of its band.

      Returns Archetype<"rest", createRack.Dimension>

      The rack.

      For a fixed dimension outside its band.