threejs-worldgen
    Preparing search index...

    Function planBuilding

    • Decides what (if anything) stands on a lot: style, volumes, materials, roofs and details, matched to the district and the regional architecture. Pure: same inputs and random sequence give the same building, and the random sequence differs per lot, so no two buildings are clones.

      Parameters

      Returns Building | null

      null for empty lots (parks, courtyards, lots without street access, coverage misses).