For this project, we want a PvP strategy map with open areas for both teams to build in, mountains on the east and west edges, mountains in the middle, and one or more mountain passes connecting the two sides of the map. Separately, I wanted to try a very simple stylized map renderer (toggle the “stylized” option).

mountain_scale sharpens slopes
flatten valleys
spread features
cell size

The current algorithm:

  1. start with perlin/simplex noise; this is controlled with the “wavelength” slider
  2. stretch the y coordinate out so that on the west or east edges, the perlin noise has a longer wavelength (larger features) and in the middle it has a shorter wavelength (smaller features); this is controlled with the “spread features” slider
  3. use the x coordinate to add elevation if it’s near the west edge, middle, or east edge, or subtract elevation if it’s in the west team or east team’s buildable area; this is controlled with the “flatten valleys” slider
  4. sharpen the transition from valley to mountain; this is controlled with the “mountain scale” slider
  5. render using a light to dark gradient, or, if “stylized” is checked, render simple icons to indicate the terrain type

I think there’s something interesting here for the map generator, and there’s definitely something appealing about the stylized renderer, which I could apply to some of my other map generators, not only this one.