Sunday, October 10, 2010

Random road network

Here's an early test for a random road network. More or less just for fun..

After picking a point in the viewport, the network grows from that position based on a
few parameters like scale, angle and iterations. New points/splines are connected by
searching for the closest intersection in previous generated splines.
This means comparing distances to an increasing number of positions, which is classOf slow, but works.
Random sized areas are generated around intersections, then subdivided again into lots.

road network and areas, showing the scale

road network, areas and subdivided lots


No comments:

Post a Comment