Procedural map generator I built a long time ago. It uses the diamond-square algorithm to generate a height map and colors it based on number ranges to simulate terrain (e.g. lowest numbers are colored blue to represent water level, largest numbers are colored white for snow covered mountain peaks, etc.)
Check the demo below. Here you can find the source code.