Web application generating interactive and highly customizable maps
Find a file
Basile Clement edfcad4e8c
Generate a legend for manually added markers (#753)
Markers added by procedural generation have custom notes depending on
the type of marker (e.g. dungeons have a procedurally generated map);
however, the notes for markers manually added by the user are empty.

This patch separates the cell selection logic from the legend and name
generation logic in markers-generator.js, so that the latter can be
shared with manually added markers.  There is some additional
simplifications such as storing the dx/dy/px/min/each values directly in
the markers table to simplify the writing of the generic "list and add"
loop in `generateTypes()`.

Currently, the legend is only generated when adding a marker of the same
type as an existing marker, and only when a legend generation function
is available for that type.  To generate a marker of a type that is not
currently present on the map, one must first change the type field of an
existing marker (which will not get a procedural note), then use "Add
additional marker of that type".  The UI for this can be improved later.

Co-authored-by: Basile Clement <basile-github@clement.pm>
2022-03-07 22:29:08 +03:00
.docker Containerized version (#639) 2021-07-13 18:42:28 +03:00
.github Create FUNDING.yml 2019-12-23 20:15:21 +03:00
.vscode v1.3.03a 2020-03-27 17:52:23 +03:00
charges 17 new charges 2021-11-25 23:13:58 +03:00
components fill-box - keep height as a parameter 2022-01-22 18:39:05 +03:00
heightmaps set size for pre-defined maps 2022-02-19 21:18:02 +03:00
images about: add discord icon link 2022-02-13 17:26:52 +03:00
libs notes editor - use tiny cloud editor 2022-02-14 22:51:31 +03:00
modules Generate a legend for manually added markers (#753) 2022-03-07 22:29:08 +03:00
styles Update atlas.json (#748) 2022-02-24 01:24:26 +03:00
utils burg temperature graph - clean up 2022-02-04 01:33:11 +03:00
.gitignore Api-Like map save option (#730) 2022-01-26 17:16:54 +03:00
Dockerfile Containerized version (#639) 2021-07-13 18:42:28 +03:00
dropbox.html dropbox - load script dynamically 2022-02-08 00:47:17 +03:00
icons.css Added OBJ exporter for 3D. (#609) 2021-03-24 22:08:20 +03:00
index.css notes - disallow iframe actions 2022-02-15 00:10:55 +03:00
index.html increase number of states by default 2022-02-19 22:28:03 +03:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2018-06-11 21:36:07 +03:00
LICENSE restore river cells of load 2021-07-28 19:46:42 +03:00
main.js fix scaleBar change 2022-02-23 23:34:31 +03:00
README.md readme update 2021-08-27 23:35:32 +03:00
Readme.txt readme update 2021-08-27 23:35:32 +03:00
run_python_server.bat v1.5.02 - COA rendering + editor basic UI 2021-02-04 15:56:27 +03:00

Fantasy Map Generator

Azgaar's Fantasy Map Generator is a free web application generating interactive and highly customizable svg maps based on voronoi diagram.

Project is under development, the current version is available on Github Pages.

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 #bugs channel on Discord. If you are facing performance issues, please read the tips.

Electron desktop application is available in releases. Download archive for your architecture, unzip and run.

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

You can support the project on Patreon.

Inspiration: