Web application generating interactive and highly customizable maps - Zones generator update (#1113) · Azgaar/Fantasy-Map-Generator@eb29c5e
const name = heightmapTemplates[key].name; Math.random = aleaPRNG(initialSeed); const heights = HeightmapGenerator.fromTemplate(graph, key); const dataUrl = drawHeights(heights); return /* html */ `<article data-id="${key}" data-seed="${initialSeed}"> <img src="${dataUrl}"...
In one of the previous posts I covered a concept of heightmap templates. Now I want to describe how it was implemented and aligned with a new Heightmap editor. The Heightmap is a core element of the map generation and I want to give users ways to control over it. By default map is...