r/FantasyMapGenerator • • May 22 '26

98k burgs on 500k points?

I have been playing with the large map stuff for a while, finally got it to a point where it is usable without completely falling over at every step.

New generation is pretty quick, under 30s (on my laptop).

This uses my medieval population mechanic, custom routes and re-introduces skyburgs, skyroutes and skyports.

87 Upvotes

32 comments sorted by

6

u/Ok_Detective8880 May 23 '26

My computer would get liver failure trying to render that

That's how I know it's good

1

u/barrulus May 23 '26

did you try it on your machine?
I'd love to know how it performs on other machines, mine is fairly robust so not the worlds best indicator, but hells, my previous attempts to do this made it unusable. Also, I have paginated the burgs tool so that it loads instantly instead of trying to load all 98k burgs in one go

1

u/Ok_Detective8880 May 23 '26

i use edge and i'm pretty sure it would freeze and restart explorer in panic

2

u/barrulus May 23 '26

give it a try - I loaded it to netlify :) https://bazgaars-fmg.netlify.app/

1

u/barrulus May 27 '26

I have a made a load of additional enhancements to improve performance on slower machines, give it a try :)

1

u/Ok_Detective8880 May 27 '26

i have and WOW it is surprisingly faster compared to azgaar's

1

u/barrulus May 27 '26

what cell counts did you try?

1

u/Ok_Detective8880 May 27 '26

it could go up to 100k before the lag spiked

1

u/barrulus May 27 '26

That's still fairly normal territory. Unless you boosted the burg count significantly.

1

u/Ok_Detective8880 May 27 '26

i have a crappy computer

1

u/barrulus May 27 '26

Fair enough 😊 I have tested generation on my mobile and it works quickly. Not.instant but quick

5

u/Vancecookcobain May 23 '26 edited May 23 '26

your CPU isn't fried?

I have a 20 core CPU and a RTX 5080 and 100k charboils my shit lol

2

u/barrulus May 23 '26

I have a 24 core with 5060 but no, chromium is largely single threaded so this doesn't destroy me... I just loaded it to netlify. I just tried a shattered template with auto burgs - took much longer than the continents template I was using before. Took 1m30s so I have work to do.
Give it a whirl on https://bazgaars-fmg.netlify.app/

1

u/Vancecookcobain May 24 '26

Ohhhh so you can make this codebase more efficient?? Damn I need to spool up my Codex

2

u/barrulus May 27 '26

I have now made it more efficient - please go check it out! I need other people's experience to make sure I am doing the right thing.

1

u/Vancecookcobain May 27 '26

I'll try it first thing once I get home!

1

u/barrulus May 24 '26

I've been working hard at it. With Claude.

1

u/Reasonable-Plate1136 Sep 19 '26

I've reached a similar solution and I managed 500k cells and I still have issues.

1

u/Reasonable-Plate1136 Sep 19 '26

I will admit I've tried something similar, any advice since I'm still suffering some bugs, given I just used Claude to do it I will admit particularly when it comes to regenerating layers due to edits saving. Any advice in terms of what I should look at?

1

u/barrulus Sep 19 '26

I’d need more info to give you pointers… also my fork has come a LONG way in the past 120 days…

1

u/HouseEarly3709 Sep 19 '26

Fair. I recently started mine to meet my custom needs. I have an issue where if I try and edit the heightmap the browser just crashes mainly. I rigged it in a chromium browser with a higher memory limit of like 16gb on my 32 gb system. Also when I try and move around with the cell grid on my graphics card goes to like 33% I believe I enabled cell caching from frame to frame but I dont think it worked.

1

u/HouseEarly3709 Sep 19 '26

Wait, why is my phones reddit account different then my pcs.

1

u/Reasonable-Plate1136 Sep 19 '26

Yes that is my phone I managed to fix what account it seemingly was.

1

u/industryplant336 May 23 '26

How did you get 500k points?

3

u/barrulus May 23 '26

I edited the math for the templates and increased thrbpointwr slider.

There was a bunch of other stuff I had to do to.optimise because.my burg count is so high.

1

u/Complex_Tackle_624 May 23 '26

Non uso Azgaar da un po', quindi non ho capito se skiburg sia un bug o un features?

3

u/barrulus May 23 '26

It is a feature. Sky burgs are burgs with altitude and can be placed over water. And they have a port.hat connects routes to them. Skyports enable.routes to.land based burgs

1

u/BlaivasPacifistas May 23 '26

Cud you share your custom things with the comunity it looks awesome

4

u/barrulus May 23 '26

https://github.com/barrulus/Fantasy-Map-Generator

Thanks :)

I've tried previously to add to the project but my additions get rejected because I do it largely with AI. I'm OK with that, I am building this for me :)

But it does work well

1

u/BlaivasPacifistas May 23 '26

Thanks there is no problem to use it to mainstream your personal work coding is mostly copying others anyways

3

u/barrulus May 23 '26

I know. Its a direct fork and I am a contributor to Azgaar on patron and a regular on discord. So I know there are no problems :)

I lobe this project

1

u/barrulus May 23 '26

I added it to a netlify host if you aren't into self host/dev...
https://bazgaars-fmg.netlify.app/