Log inGet started
Package

streets.module

README.md

streets

This module generates the local streets of a city, growing them district by district based on each district's defined pattern. It uses a tensor-field tracing method to determine street directions, blending influences from district headings, ground contours, existing arterials, and noise. Streets are laid out as streamlines of this field, spaced evenly, starting from existing ways, and stopping or joining other streets when they meet. It handles jitter for uneven spacing, thins cross streets, and can end streets in T-junctions. The module assigns names to grown streets and calculates their width, length, and grade. It outputs these streets as curves with various attributes. It is called by the city generation pipeline after districts and major ways have been defined.