Get the latest tech news
Procedural Hydrology: Dynamic lake and river simulation (2020)
Note: The full source code for this project can be found on Github [here]. The repository also contains details on how to read and use the code.
Many methods focus on producing (very nice) river systems quickly using various algorithms (sometimes based on an existing height-map or the reverse problem), but lack strong realistic coupling between terrain and hydrology. Note: I have seen a few seeds were 3 lakes successively drain into each other, but I didn’t want to spend a long time running simulations to find one for this article. Note: Shortly after publishing this article, I made a small change in how the surface normals are computed that increased simulation speed.
Or read this on Hacker News