8000 GitHub - sulyi/roadnetwork_rg: Generates height map and cities then constructs a sensible road network · GitHub
[go: up one dir, main page]

Skip to content

About

Generates height map and cities then constructs a sensible road network

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

125 Commits

Folders and files

Repository files navigation

roadnetwork_rg

This python package implements a map generator that connects cities with a sensible road network.

The generated road network is close to a minimal spanning tree but allows loops, to achieve this:

  • a height map is generated using diamond-square (a.k.a. random midpoint displacement) algorithm,
  • a set of cities are generated using a point process with an adaptive intensity function,
  • a complete graph of the shortest roads connecting the cities is created,
  • a heuristic is applied to filter roads.

see also:

About

Generates height map and cities then constructs a sensible road network

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0