Age of Empire 2 Map Generator

Generate a map with a black and white png image. Black pixels will create a grass tile. White pixels will create a Water Azure tile.



Add beaches

Add water gradient (shallow, medium, then deep)



See this link for code api.