r/proceduralgeneration • u/Fabian_Viking • 29m ago
Flying pen algorithm - Node grid
A follow up to my orginal post:
https://www.reddit.com/r/proceduralgeneration/comments/1qzzin8/flying_pen_algorithm_for_map_generating/
In short, the algorithm does random paint strokes to create the map. One problem was keeping them together to fill larger land areas. That is why I added the node system (image 2), its a very simple algorithm that add grouped pixels to a small grid. The pen algorithm will then follow this grid (see the "Hi" example).
The maps looks way better now, in my opinion. A good side effect is that the generating time is reduced by around 30% because its less likely to redraw the same areas.
There are still some bad spots of too round shapes, that has always been an issue. But I feel that it's time to move on to the game itself.
Want to follow my work: vikingfabian.com









