AutoMovie API
    Preparing search index...

    Function createSmoking

    • A cigarette or a pocket lighter.

      A cigarette lies along +Z from its filter end at the origin to its lit end; it is pinched just beyond the filter, the mouth takes the filter end and a flame meets the lit end. A lighter stands on its base at the origin with its spark wheel on top toward +Z; the hand wraps the body, the thumb turns the wheel and presses the gas lever beside it, and the flame stands above the top.

      Parameters

      • params: createSmoking.IParams

        The kind, a lighter's model, and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that picks a lighter's model when none is given and draws every dimension left free inside its band; absent, the first model and the middle of each band.

      Returns Archetype<createSmoking.Affordance, createSmoking.Dimension>

      The cigarette or the lighter.

      For a model the kind does not have, or a fixed dimension outside its band.