Convert Figma logo to code with AI

Azgaar logoFantasy-Map-Generator

Web application generating interactive and highly customizable maps

4,841
709
4,841
6

Top Related Projects

3,034

Fantasy map generator

World generator using simulation of plates, rain shadow, erosion, etc.

Quick Overview

Fantasy Map Generator is an open-source web application that allows users to create and customize fantasy maps. It provides a wide range of tools and options for generating realistic-looking landmasses, adding geographical features, and populating the map with various elements such as cities, roads, and political boundaries.

Pros

  • Highly customizable with numerous options for map generation and editing
  • Produces visually appealing and detailed maps suitable for various purposes
  • Free to use and accessible through a web browser
  • Active development and community support

Cons

  • Learning curve can be steep for new users due to the extensive feature set
  • Performance may slow down with very large or complex maps
  • Limited export options for certain file formats
  • Some advanced features may require manual tweaking or workarounds

Getting Started

To use the Fantasy Map Generator:

  1. Visit the Fantasy Map Generator website.
  2. Click "New Map" to generate a random map, or use the various tools and options to customize your map.
  3. Explore the different tabs and menus to add features, edit terrain, and customize your map's appearance.
  4. Use the "Save" button to download your map in various formats or save it to your browser's local storage.

Note: This is a web application, so there's no need for installation or code examples. Simply access the tool through your web browser and start creating maps.

Competitor Comparisons

3,034

Fantasy map generator

Pros of terrain

  • Simpler and more focused on generating realistic terrain
  • Faster generation due to less complex features
  • Easier to integrate into other projects as a terrain generation module

Cons of terrain

  • Less feature-rich compared to Fantasy-Map-Generator
  • Limited customization options for map elements
  • Lacks additional features like city placement, roads, and political boundaries

Code Comparison

terrain:

function generateTerrain(width, height, roughness) {
  let map = new Array(width * height).fill(0);
  // ... terrain generation logic
  return map;
}

Fantasy-Map-Generator:

function generateTerrain() {
  const cells = grid.cells;
  cells.h = new Uint16Array(cells.i.length);
  HeightmapGenerator.generate();
  // ... additional map element generation
}

The terrain project focuses solely on terrain generation, with a simpler API and implementation. Fantasy-Map-Generator, on the other hand, incorporates terrain generation as part of a more comprehensive map creation process, including additional features and map elements.

While terrain provides a straightforward approach to generating realistic landscapes, Fantasy-Map-Generator offers a more complete solution for creating detailed fantasy maps with various elements such as biomes, cultures, and settlements.

World generator using simulation of plates, rain shadow, erosion, etc.

Pros of worldengine

  • More scientifically accurate world generation based on plate tectonics and erosion
  • Generates 3D heightmaps and allows for 3D visualization
  • Provides detailed biome and climate data

Cons of worldengine

  • Less user-friendly interface, primarily command-line based
  • Fewer customization options for map styling and aesthetics
  • Less active development and community support

Code comparison

Fantasy-Map-Generator (JavaScript):

function generateTerrain() {
  const cells = pack.cells;
  cells.h = new Uint16Array(cells.i.length);
  const N = cells.h.length;
  const regionCells = [...new Set(cells.region)].map(r => cells.i.filter(i => cells.region[i] === r));
}

worldengine (Python):

def generate_world(seed, width, height):
    world = World(seed, width, height)
    world.set_ocean_level()
    world.generate_plates()
    world.generate_elevation()
    return world

The code snippets show different approaches to terrain generation. Fantasy-Map-Generator uses a cell-based system with regions, while worldengine focuses on plate tectonics and elevation generation.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Fantasy Map Generator

Azgaar's Fantasy Map Generator is a free web application that helps fantasy writers, game masters, and cartographers create and edit fantasy maps.

Link: azgaar.github.io/Fantasy-Map-Generator.

Refer to the project wiki for guidance. The current progress is tracked in Trello. Some details are covered in my old blog Fantasy Maps for fun and glory.

preview

preview

preview

Join our Discord server and Reddit community to share your creations, discuss the Generator, suggest ideas and get the most recent updates.

Contact me via email if you have non-public suggestions. For bug reports please use GitHub issues or #fmg-bugs channel on Discord. If you are facing performance issues, please read the tips.

Pull requests are highly welcomed. The codebase is messy and requires re-design. I will appreciate if you start with minor changes. Check out the data model before contributing.

You can support the project on Patreon.

Inspiration:

NPM DownloadsLast 30 Days