edited formatting

This commit is contained in:
Ben Varick 2025-10-30 13:50:27 -07:00
parent 786a1f3965
commit 53b6310732
Signed by: ben
SSH key fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo
6 changed files with 25 additions and 10 deletions

View file

@ -3,10 +3,16 @@ date = '2024-01-01T19:13:02Z'
title = 'Pretty rivers'
+++
I like looking at maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.
I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.
The code that generates these maps is here: https://git.dendroalsia.net/ben/pretty_rivers
One key to making the map visually appealing, is setting the width of the river relative to the upstream watershed area. The USGS data includes that watershed area, and through trying different options, I found that this ratio worked well:
linewidth = (upstream surface area)^0.3204*0.0446
This works for the extent and river sizes in Wisconsin, I have to adjust it for maps of smaller areas or different sized rivers.
![Wisconsin Rivers](wisconsin_rivers.png)