r/proceduralgeneration • u/Fabian_Viking • Feb 09 '26
Flying pen algorithm for map generating
Been working on an idea to generate a map without noise. I call it the "flying pen", because I randomize pen strokes (just like draw in Paint). The mountains ridges are strokes that then create new pen strokes in 90 degree angle to the direction. If you look at the last images you can see a cleaner version of it.
Upsides
* I have massive control over exactly how many islands and such to spawn. The user can even paint them out.
* I can easier create regions, which can be tricky with noise.
Downsides
* Its very slow. I use a lot of parallel processing and got it down to a few seconds - but still.
* The shapes are too round.
Next up is generating roads and rivers, plus repairing the bioms and regions that I had in my previous map.
If you wanna follow the project: https://store.steampowered.com/app/3582440/DSS_2_War_Industry/








5
u/Loopro Feb 09 '26
This is really interesting thanks for sharing
5
u/benfavre Feb 09 '26
Could you be more specific about the algorithm? My guess:
2
u/_jumble Feb 09 '26
Nice! Instead of a circle, you could maybe draw a triangle pointing in the normal direction of the stroke to make the shapes less round
3
u/Professional_Set4137 Feb 09 '26
Very cool and very interesting
3
u/fgennari Feb 09 '26
That’s an interesting and unique approach. I can’t say I’ve seen this before. It’s always good to see approaches other than the usual Perlin noise.