The Shapes of Rivers

(dominicroye.github.io)

142 points | by joexov 2 days ago

17 comments

  • shaaaade 1 day ago
    The performance of this thing makes it borderline unusable, I am not sure if it's the drawing, hit-testing, or both. A good deal of that can probably be solved by utilizing webgl for the drawing rather than the html canvas. Upload geometry once, and draw with parameters (color, et al.) as-needed
  • rrauenza 23 hours ago
    Reminds me of this old numberphile video, https://youtu.be/TUErNWBOkUM "Pi me a River: How the length (and sinuosity) of rivers relates to Pi - featuring Dr James Grime."
  • dolmen 1 day ago
    An alternate view based on altitude (the vertical shape vs the horizontal shape presented here) would be a good complement as I expect that the altitude data is available in the same source dataset.
  • throwaway2037 1 day ago
    Of the largest in the world, I was always most impressed by the Congo River. It is special because it crosses the equator twice in a long arc. As a result, a significant part of the river is always experienceing a rainy season. Thus, there is little to no dry/low season on the river as a whole.
    • arethuza 1 day ago
      There's an interesting idea (by no means settled) that the Congo and the Amazon were once the same river- before the Atlantic opened to split South America and Africa apart and before the Andes:

      https://en.wikipedia.org/wiki/List_of_river_systems_by_lengt...

      • sdoering 1 day ago
        Wow. I just learned something really interesting today. Thanks a ton.
    • srean 1 day ago
      And it is mad frigging deep. We don't even know it's max depth
  • Kuyawa 1 day ago
    Frist, Kudos!

    Where is search? Everybody wants to search for rivers they know, in my case Orinoco, where is it?

    • novaleaf 19 hours ago
      there's a search sidebar on the right side, under "Filter"
  • zodwick 1 day ago
    Love his work. Another one of his work that I would recommend: https://dominicroye.github.io/blog/visualize-urban-growth/in...
  • vismit2000 1 day ago
    Very cool. Looks like this uses Equal Earth projection in Maps section representing the true size of Africa! https://www.bbc.com/news/articles/ce30vp55dnlo
  • nukanse 1 day ago
    Deciding which tributary is the main river it's kind of arbitrary, so the map should show the entire draining basin, or weight by some parameters
  • lefra 1 day ago
    Neat idea, however looking at river Garonne in France, the shape is wrong in radial and drop views (comparing with the map I found on wikipedia). The map view also only highlights part of this river, the rest is labelled as "Tarn", which is wrong (the Tarn is a tributary of the Garonne in reality, map shows the reverse). Looks like the source of data is not of great quality.
  • ostacke 1 day ago
    Very cool. It's interesting that the aggregate shape of all rivers is very consistent between continents, except for North America when you include unnamed rivers, which gets a very tall peak. Why might that be?
  • aucls1 1 day ago
    Throughout my time in school, I was taught that the Amazon River was the largest in the world in terms of both length and volume of water. Well, I learned something new today.

    Great work, really interesting

    • nukanse 1 day ago
      Rivers are fractals, so their length depends on at which scale they are compared
  • letharion 1 day ago
    While it's surely just a weird coincidence of the rendering here, I find it interesting that the overall picture of all rivers form the shape of a water droplet.
    • nukanse 1 day ago
      I guess that the shape can be generated by a random walk, where each walk is rotated so the extremes end vertical. I will ask an ai to generate it.

      EDIT: I confirm, it generates a drop like shape, but the ai initially confused the problem with a Brownian bridge.

    • mablopoule 1 day ago
      If you open the 'shape' menu, you can see that the 'drop' option is activated by default, and you can use different shapes.

      It's a really cool page :D

      • Majestic121 1 day ago
        Yes, but the alternative views are map (putting the starting and ending point on a map) and radial (I assume only fixing the starting point)

        So I expect the 'drop' view to fix the starting and ending point, and the drop shape is just the result of this, but not a deformation for the result to look like a drop.

  • fionaellie 1 day ago
    Would be interesting to sort by flow direction.
    • sarmadgulzar 1 day ago
      Yup, just recently found out that the Nile flows from south to north, and I felt like my whole life has been a lie :) For 30 years I believed it was the other way around
      • ThinkingGuy 1 day ago
        Apparently "All rivers flow south" is a frighteningly common misconception. My friend's daughter was even told this by her middle school teacher.
      • world2vec 1 day ago
        How could it possibly flow the other way around?!
      • orphereus 1 day ago
        What? You assumed it flowed from Mediterranean sea to the mountains of Africa? Or you use a map which has north down?
        • sarmadgulzar 1 day ago
          Lol, neither. Simply because I live in South Asia, I grew used to rivers flowing from north to south, as nearly all do here.
    • joexov 1 day ago
      oh thats a nice idea. closest thing I found is the "from source / from mouth" toggle in the shape view, it lines all the rivers up from one end. not quite what you mean but its still fun to play with. grouping them by which ocean they end up in would be really cool to see
      • thrdbndndn 1 day ago
        'Shape -> Radial' should cover what they wanted?
  • a3w 1 day ago
    Aren't most rivers underwater? I guess we rarely know their shape, though.
  • swyx 23 hours ago
    so is there anything to learn from the suggestion that they all converge on tear shaped?
  • gspr 1 day ago
    Very pretty! Love it :-)

    Bug: seemingly does not render (or does not have?) non-ASCII characters in names. It's not the usual garbled rendering, the non-ASCII characters are simply missing in the few examples I looked up. For example, Glåma(/Glomma) is shown as "Glma".

    • gspr 1 day ago
      Update: It's more interesting than that! The Rhône shows with its ô! But in addition to Glåma showing as Glma, Österdalälven shows as "sterdalven". So something is definitely amiss.
  • infrahubb 1 day ago
    really cool......