[Prototype] Procedural City Generation
Been working on this for the past few days, pretty happy with the result. It's a procedural city generator made in Unity. Pretty simple from a logic point of view, yet a bit tricky to implement. The roads data is split into road segments and road intersections, starting few intersections determine the overall look of the city. The existing road segments are continually broken down into smaller segments and appropriate new segments and intersections are added. Once the grid has been positioned the building placing starts, it consists of checking if the current road-side position is already occupied by a building and places buildings that have no conflicts into the road "slots", building size is somewhat randomized.