I've been doing some research on terrain generation algorithms, and they are defined here as an algorithm that generates a random "heightmap". A heightmap is an image which is black and white, where the difference between the black and white is the height of the map. You could do these in some random paint-software, but if you need them to be random each time, you have to make an algorithm. For ex

