Skip to content

five-on-it / packages/catalogue/src/city/lines

packages/catalogue/src/city/lines ​

Points and polylines on the map, for the city template's solver: the same curves the Blender generators draw (assets/blender/levels/citygen.py and network.py), ported operation for operation so a road solved here lies where theirs would (Riverbend's within a few millimetres, riverbend.test.ts). The map's frame is Blender's top view, X east and Y north, so turns keep their sense (a roundabout runs counter-clockwise, traffic keeping right); the spec's and the plan's points are the game's (solve.ts turns them).

Classes ​

Type Aliases ​

Functions ​