Currently implemented in Ruby, this is a simple DiamondSquare algorithm.
Here are some screen shots:
For a detailed description on the how the algorithm works, and for the code listings, see the article here.