AutoMovie API
    Preparing search index...

    Function createCart

    • A wheeled load carrier, pushed by hand or drawn: a shopping trolley, a wheelbarrow, a horse's two-wheeled cart, a runner's rickshaw, a pair's chariot, an artillery limber, a four-wheeled wagon or a closed carriage.

      The carrier stands on the floor with its front toward +Z. A trolley and a wheelbarrow are pushed from behind at -Z: a trolley by the one handle bar across its back, a wheelbarrow lifted and pushed by its two handles, leftHandle on +X; load is the floor of the basket or the tray. A drawn kind's (rear) axle runs along X under the origin, and its coupling is where it is drawn from, ahead along +Z: a cart's shafts at the horse's tugs, a rickshaw's shafts at the runner's hands, a chariot's, a limber's, a wagon's or a carriage's pole at its end. A wagon's and a carriage's front axle turns on frontAxle about its pivot, wheelbase ahead of the rear axle, carrying the pole. ArchetypeRide.along moves a pushed kind along a course, and ArchetypeRide.towed draws a drawn kind by its coupling behind a leader's hitch, a four-wheeler with front set to its pivot and frontAxle; each road wheel spins on a knob the ride turns by the distance covered. A cart drawn by a horse in harness takes its traces and driving lines from lines, which the towing ride lays between the two at every second.

      Parameters

      • params: createCart.IParams

        The kind, its read model and options, and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that picks the model and its options and draws every dimension left free inside its band; absent, the first model and option, and each dimension the middle of its band.

      Returns Archetype<createCart.Affordance, createCart.Dimension>

      The carrier.

      For a fixed dimension outside its band, one the kind lacks or one the model reads, or a model or option the kind does not offer.