You can look at that.
and the most similar http://codeflow.org/entries/2011/nov/10/webgl-gpu-landscaping-and-erosion/