Log inGet started
World

Painted Metropolis

Branchmain
Commit1e1d3a3d4d

README.md

cityGen.scModel

Model.build(plan, { style }): the road graph of a city plan turned into what a street mesher needs: smooth centrelines, cross-sections (columns and faces), where each way stops short of its junctions, what happens along it (crossings, stop lines, parking), rows of cross-sections, each junction's plane, pads, and the 256 m cells everything is sorted into. Model.rowPoint(e, row, column), Model.at(D, s), Model.raiseAt(P, d). Makes no triangles. See STREETS.md in the package.