AutoMovie API
    Preparing search index...

    Function createGate

    • A pedestrian gate a person passes through: a tripod turnstile or a swing speed gate.

      The lane runs along Z through the origin, one of its maker's read passage widths between its cabinets, given or drawn from the seed, and is walked toward -Z. A turnstile has one cabinet on the lane's -X side with its barrier arm reaching across the lane at the maker's barrier height; a speed gate has a cabinet on each side, each with a wing closing half the lane at the maker's wing height. passage is the lane's opening, an aperture as high as the cabinets; top is the -X cabinet's top, leaned on or vaulted.

      The arm and the wings are drawn at their cabinet's middle and declared as no contact, since no source read places them along the cabinet; turning an arm or swinging a wing has no motion law yet (#3468 N7), so the gate is built for static use.

      Parameters

      • params: createGate.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<createGate.Affordance, createGate.Dimension>

      The gate.

      For a passage the kind's maker does not list, a fixed dimension outside its band, or one only another kind has.