Lukas Jiriste [Thu, 12 Sep 2024 23:56:03 +0000 (01:56 +0200)]
Create a helper function for basin recognition
This function accepts an array representing the height map of an area
and accumulates pixel count through steepest path downward.
This is a naive implementation that takes quite some time to complete
for larger maps.