This model is an implementation of the drainage model presented in
Stark CP 1991 An invasion percolation model of drainage network evolution. Nature, 352, 423–425.
Click on the image to download and save the model NetLogo file. You will need to install NetLogo including the gradient extension to run this file.