Ok, thank you. This sounds more complex than I anticipated. I'm working on a river system for my game and I struggle to find good references for code snippets. Your take gives me a good starting point.