If you would like to generate a terrain like this u can use the perlin noise 2d algorithm. Out of the result of that algorithm u can assign color or textures. http://en.wikipedia.org/wiki/Perlin_noise
If you would like to generate a terrain like this u can use the perlin noise 2d algorithm. Out of the result of that algorithm u can assign color or textures. http://en.wikipedia.org/wiki/Perlin_noise