AutoMovie API
    Preparing search index...

    Function createVessel

    • An open vessel that holds food, ash or flowers: a bowl, an ashtray, a saucepan, a stockpot or a vase.

      It stands on its base centred over the origin, open upward, a saucepan's long handle out along +X and a stockpot's two side handles along X. rim is the top of the rim, facing up, as wide as the vessel; inside the floor inside, facing up, where a spoon stirs, a cigarette is stubbed or food lies; a bowl and an ashtray are held by body, from beneath, a vase by body round its middle; a saucepan by its handle, a stockpot by leftHandle and rightHandle.

      Parameters

      • params: createVessel.IParams

        The kind, the kind's model where it has read models, and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that picks the 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<createVessel.Affordance, createVessel.Dimension>

      The vessel.

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