Code Monkey home page Code Monkey logo

fantasy-map-generator's Introduction

Hello 👋

I am Azgaar, JavaScript developer creating free worldbuilding tools. My main projects are the Fantasy Map Generator and Armoria: heraldry generator and editor.

My GitHub stats

fantasy-map-generator's People

Contributors

annapanni avatar avengium avatar azgaar avatar canisartorus avatar carnotcrash avatar dmecke avatar doddydad avatar dranorter avatar emeraldchevalier avatar evolvedexperiment avatar floookay avatar goteguru avatar imgbot[bot] avatar janphelee avatar juacom99 avatar klavs avatar legendsmith avatar leonlenclos avatar mdirienzo avatar onyxazryn avatar phundrak avatar rayzeq avatar richardrobertson avatar ruichka avatar rutgerhartog avatar schizoidnightmares avatar therealstanpines avatar tvogt avatar yldrefruz avatar zzwilliamxxtrue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fantasy-map-generator's Issues

Two Suggestions

I just have two suggestions I would love to see that would make me switch from using Hexographer to only using your program. I wish the program had the ability to overlay hexes on the map so exact distance measurements could be made. Second, I wish there were at least a way to add mountain ranges or have mountain ranges automatically added to the map that you can turn on or off. I can even forgive not having every kind of ecology listed, but at least having mountain ranges would make a huge difference for me. That's all!

High res full map

Is there a way to get the full map PNG? Right now we only can print parts of the map zoomed in and the whole map lacking the smaller details. For example in these images if you zoom in it will blur due to the image resolution I guess.
fantasy_map_1520805425525
fantasy_map_1520806819059

Custom map crash on save

Hey, first off, I love your map generator! It's exactly what I've been looking for. But for some reason saving custom maps has been causing the map generator to crash.

It worked the first time (saving as a .png), but I realised I wanted to change something about the map, and now every time I try to save it again, the generator is replaced by a blank white page (see the print screen below) and I lose my work. Refreshing the page just takes me back to the random map generator..

image

Two More Issues

Sorry, I forgot two more issues. One important, one preference. Using Google Chrome, I've found that the Print button won't do anything/nothing comes up so I can't print the map. The unimportant one is that it would be cool if there were a way to export the map as an image to an image editing program like Paint or Photoshop so that we can do other things to the map. That's all, I swear!

bug when saving more than one label group(s)

When saving a label group now it works, but when you try and save a second custom group it overwrites the last one on the list.

[Correction]
In this if statement there is logic that removes the old group label completely. I think it is the first remove. When I delete the line 3390 it is fine(but i'm not aware of the full logic of this operation).

bug

A couple of bugs

Issue 1
Landmass "tears" at anything larger than size 1.
-seems to reduce chance when the maps sharpness is reduced to 0.1 Effect lessens when costal style is set to linear. -see reference 1
Sometimes this does not tear landmass' but countries instead.

Reference 1
reference 1

Issue 2
Map generator cannot render land mass beyond size 2. (ocean shape renders but no land mass is generated) -see reference 2.
-note this size limitation can be improved to size 2.5 when turning the sharpness down and coastline style is set to linear. -however it still sometimes will not generate land mass)
-Map generator sometimes will not generate land if countries or burgs are quite high or low for the land mass.

Reference 2
reference 2

Issue 3
Get PNG and SVG does not work. No download occurs.

Idea- Coast Outlines Option

Could you add an option to not have the coasts outline at all? Sometimes I'd like to have a clean map without coast outlines, to look like a normal map.

Heightmap editing erases work on borders and labels

First off I am really enjoying this map generator.
But my one issue so far is that when I go to edit heightmaps the borders of the countries as well as country names get reset when I complete the heightmap work.

Generator version

V 0.55b

Browser version

65.0.3325.181 Chrome for Mac

Steps to reproduce

Go into heightmap rollback, then complete.

.map file

Expected behaviour

Being able to edit geography without the country borders and labels being reset.

Actual behaviour

Country borders (even custom) and labels are reset.

Edit Countries is broken if a country has no capital

Description

When trying to manually assign countries the app throws an error if one of the countries has no capital city.

Generator version

0.56b

Browser version

Chrome

Steps to reproduce

Remove a capital city of a country
Go to Customize -> Countries and select the Manually Re-assign brush tool.

Expected behaviour

Countries should be valid even without capitals.

Actual behaviour

You can't edit the countries until you add a capital city to each one.

Unable to use the "countries editor". And heightmap/Culture map not working

I made a pretty big map manually with the heightmap editor, then proceeded to make some changes on the countries editor and saved. Next day I loaded the file and I wasn't able to use the coutries editor, I also hopped on layout and changed to heightmap and then culture map, both only showed me the central part of the map, everything else was pale white.

Overlay not visible when loading .map

When loading a .map file, Overlay does not appear. Deselecting and reselecting Overlay does not cause it to appear.

The following layers are on:
Ocean
Landmass
Overlay
Routes
Rivers
Countries
Borders
Relief
Labels
Burgs

Culture editor/climate mapmode?

Hi, I was wondering, are you planning on adding culture editing tools/a slider for the number of cultures? Also, are you planning on adding something to show climates? Thanks!!

Issues with "Customize" option

Summary: Issues with "Customize" option
Version: Demo
Type: Bug

Issue 1: Landmass is no clipped by the coastline
Issue 2: "-" option is not invoke mockCoastline

Compliments and saving issues

First of all, congratulations and compliments for your awesome work, you just saved my game-master a**

Now, regarding the technical issues: apparently, the saving process (both in SVG and PNG format) are not working. The page appears to be loading, but no file is downloaded.

Strangely enough, the "save map" button is instead working perfectly

Can't save 2/3x grid map

Description

I tried to create bigger map with bigger grid, 2x or 3x size. I actually can save it as .map file, but when I try to save as .svg/.png, website just freezes and won't load again.

Generator version

0.55b

Browser version

Chrome ver. 65.0.3325.181

Steps to reproduce

Create any map with 15 countries, 350 burges and try to save it as .png. Don't work for me and need to refresh the page.

Expected behaviour

I just want to save my big map as .png or .svg file.

Actual behaviour

Website freezes, need to refresh it.

streets

It would be great if you would change the streets to connect (for example )big cities. It makes sense for them to be connected (trade,etc.). So that these streets are not completely random but follow a few rules.
In short: The streets should adapt to the environment. (maybe later even population etc).
The first is an example of a good path. the second a bad one.
good path
bad path
I hope my idea became clear, if not feel free to ask (i expressed myself a bit confusing)

Bye, and keep up your great work!

cannot save label

First of all your map generator is amazing. The logic behind it is also quite nice and elegant.
Now to business...
There is currently a bug with saving different labels. When you try to save the label it gives you the exception(included in the pictures). Is the bug due to some incompatability/dependency on my end or is it really a bug.

lable text
exception
here

Keyboard shortcuts?

Description

Keyboard controls (Ctrl+Z to undo, etc.)

Generator version

.56

Browser version

Googe Chrome version 66.0.3359.139

Is there a way to version update our maps without bugging you out by sending it to you?

As per question I'd like to keep maps up to date with your wonderful generator! You have done an awesome job and it's by far the best in its field out there. Having an unupdate map uploaded prompts for contacting you or using an old generator. Although I'd love to have my map updated I wouldn't like to steal more of your time than the amount you want to put in your creation; how would one do that?

Generated map .png looks incomplete

Description

The generated .png file looks as if it stopped being rendered halfway through. Some coloured regions have sudden white areas and one region in particular looks blurry (though this might be due to a colour/glow clash).

Generator version

0.55b

Browser version

Firefox Quantum 59.0.2 (32-bit)

Steps to reproduce

  1. Generate a new map
  2. Customise the country colours and names
  3. Save map as .png

.map file

map.zip

Expected behaviour

The generated .png will resemble the browser version in colour and overall appearance (e.g. legibility)

Actual behaviour

The generated .png differs significantly from the browser version

Rivers are doubled and path is disjointed

Summary: Rivers are doubled and path is disjointed
Version: Demo
Type: Bug (Rivers are doubled); Enhancement (path is disjointed)

Imported .svg to illustrator. Everything else seems fine but river segments are doubled and path disjointed

Editing of height map after the map is ready

Description

Better editing of height map even after the map is ready, or a message saying why I can't

Generator version

0.55b

Browser version

Google Chrome
Version 66.0.3359.117 (Official Build) (64-bit)

Steps to reproduce

  • Create a map (I created one from scratch)
  • Add countries
  • Try to go back to editing the height map

.map file

fantasy_map_1525001682626.zip

Expected behaviour

The ideal behaviour would be to be able to customise the height map even after making changes. However I realise this may not be trivial - so I think maybe a message saying "Unable to customise height map due to ______" could be great.
Then I'd know what's preventing me from editing the height map and can make an informed decision.

Actual behaviour

It alerts me that there may be issues, but upon clicking "Keep" nothing happens.
It did work until a certain point - so I can only assume I added things that are now preventing it.

No longer able to create Labels on the new update.

I had a map used for a campaign on the last update. With this new one update I lost the labels I had put down on the map and I am unable to make new ones

Update: I may have found a reason. On the old update I made all of the small pre-generated cities and made their label group 0 opacity to get rid of all the extra labels and then made ones for cities I would use. I can now no longer see any labels or get the labels that weren't in that label group

Errors when loading the map (RUS/ENG)

После загрузки карты я как всегда заходил на вкладку CUSTOMIZE где нажимал ROLL BACK, чтобы начать редактировать карту, но с последнего момента кнопка ROLL BACK просто удаляет карту с поля. Такая проблема уже была, но как она решилась я уже не помню.

After loading the map, I always went to the CUSTOMIZE tab where I pressed ROLL BACK to start editing the map, but from the last moment the ROLL BACK button removes the map from the field. Such a problem has already been.

This happens only on this map

fantasy_map_1523005208096.zip

Biomes and maps

It would be great if you could add different biomes to the map so it feels more natural, also, I would love if there was an option to generate maps of real countries or continents

Neutral land between regions

Summary: Allow neutral lands between regions
Version: Demo
Type: Enhancement

Suggested by devblog reader dcdear. Full comment:
"Love the maps, just stumbled across them. I am wondering if there is a setting for having neutral land between countries/regions? A generic wilderness that separates some or all of the regions? An example might be a desert that is not controlled by anyone? In any event, I love the work. Cheers and thanks."

I do not see any problems with this and will try to implement the option to leave some distant lands neutral.

Will we be able to add roads in the the feature?

Description

Inquiry of or request for a feature.
When I add a burg, there is no new trail or road that leads to it. I want to use this map to make a world for D&D... I've been playing around with it and I can move burgs, make new ones but if I move the burgs where I'd like them...that leaves lots of pathways that lead to nothing and towns essentially in the middle of nowhere.
Is this a feature that could be added in the future? maybe adjustable like rivers?

Generator version

.55b

Browser version

Google Chrome

UI change request

Summary: Options are intrusive
Version: Demo
Type: Enhancement (better ui)

Using the options menu becomes intrusive when exploring and working with the map, I suggest the options are moved to a static menu on one of the sides.

(Great work you got here, keep it up 👍)

Image to heightmap converter giving black images

In version 0.55b using Chrome 65 whenever I upload an image to the heightmap converter it just shows a black map. I tried several images in several sizes, png and jpg with 8-bit colour spaces and 16-bit. It initially worked fine but suddenly this bug appeared and now no image works. It may be something on my side?

I can`t download map in .png file

Description

I cant download map in .png file

Generator version

Browser version

Steps to reproduce

.map file

Expected behaviour

Actual behaviour

Saving Maps as PNG results in them being too small to be legible

As in the title, when you save a map as a PNG, it results in a 960x540 file. This size is far too small to display any map, and while the size works as an SVG, it can't be used in any sense as a PNG. Is there a way to change the size so that a PNG version of the map would be usable?

Adding and changing burgs' types

It would be cool actually to change or add our own types of burgs. Now only if I place the capital near the ocean, it's type changes to port, but cannot do same thing with adding additional burgs.

Burgs dissapearing and mixes up with other nations

The last three nations are displayed as Kordekk when selecting burgs, and Kordekk lost all burgs at some point during customization, despite there still being 13 burgs in the region.
bug1
bug2

When pressing Ulldor, it shows the current burgs for Kordekk which for some reason have 0, without me changing anything.

When selecting Kordekk it shows the name of the nation as Kordekk but the cities belong to Ulldor.

When selecting Norrland it shows it as Kordekk and with 0 burgs despite there being 15.

More robust Attributes and ability to save as HTML

Summary: More robust Attributes and ability to save as HTML
Version: Demo
Type: Enhancement

I have been playing with your generator and these are the things that would be most useful:

  1. The ability to save it as HTML that still has jQuery as a source.

jQuery commands are an easy way to extra info from the map (now it is possible there may be a way to automate the extraction to get all possible data wanted (like location of burgs with region associations/loyalties.

Being able to save a jQuery-able copy would make extracting data later much easier.

  1. Putting region associations into all elements. I was able to local edit your drawManors(), drawRegion(), and drawRegionCoast() functions to add .attr('region-idx', NUMBER) to the burg circle, the burg label, the region path, region coast path, and region label.

This allows running commands to generate tab/comma separated lists of Burg name, x coord, y coord, region name (either as an index or by pulling it from $('.region[region-idx="'+ $(this).attr('region-idx') +'"]').text() )

  1. Data simplification. You can probably reduce the size of the path strings significantly by using Number.toFixed() to limit the decimal places to like 3.

This is an amazing generator.

Saving as .png offline issue?

Hi, I saved the program to work offline in Chrome, and saving maps as .map or .svg works perfectly. However, when I tried to save as .png, it makes the URL go to "about:blank". I can't be sure, but I think it's trying and failing to make a popup download window? It works fine in the online version, so a workaround is to save as .map and open it up in the online version. Thank you so much, I love this program so much!

This is amazing work

Hi Azgaar,

I just wanted to drop by and let you know that this project is fantastic. The map generation is exciting, realistic, and tons of fun to play with. I am extremely impressed with your work.

One issue - I appear to be unable to use customization tools such as the Paint Brush once a map has already been generated. Is this by design? I randomly generated a map until I found one I liked, spent a bit of time editing burg names and rivers, and have just now realized that I am unable to add any additional land mass. The Tools section does not appear. Is there a way to use the Paint Brush at this stage in development? Thanks again!

Out of date

Could you update the repository?
I'd like to play around with some of the code you're demoing in your blog.
Love your work.
Cheers.

Error saving and opening the file

When I can make my map as I like it, I click it right and I give it to save as. After I have saved it in a folder I open the file and it does not load the map, I only see the sea.

Probably a dumb question with continents-

Hey-

Maybe I'm misunderstanding the general usage of heightmaps and that terminology, but I was wondering- is there a better way to control the general shape/size/amount of continents? Like for example. if I randomly generate a world map and I want to take one continent and move it to the center, how would I do that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.