threejs-worldgen
    Preparing search index...

    Function buildVehicle

    • Generates one vehicle model. Deterministic: the same type, parameters and seed always give the same meshes; different seeds give different proportions, styles and details.

      Parameters

      Returns VehicleModel

      buildVehicle('car', { style: 'suv' }, 7).size     // [1.95, 1.8, 4.8]-ish metres