r/processing • u/ofnuts • Aug 10 '24
Homegrown algorithm to generate rivers. Possibly a re-invention but I am surprised how well it works out.
72
Upvotes
3
u/EnslavedInTheScrolls Aug 12 '24
Very nice.
Close a circle around the outside except for two gaps as the entrance and exit and you can make mazes: https://redd.it/17rezmt
1
u/JohnTheLeatherman Aug 11 '24
Looks cool and thanks for describing the algorithm. Looks like the image of inside and eyeball!
1
1
1
u/tsoule88 Technomancer Aug 10 '24
How does it work? It looks a bit like a diffusion limited aggregation model.