A continuation from my past terrain project. Uses diamon-square algorithm described in http://gameprogrammer.com/fractal.html#diamond. Change iteration to create a more detailed terrain. A roughness of 55 is good for mountainous terrain. Rotate by changing the angles. I suggest angles of 27,161,180.