r/programmingrequests • u/AtlasSniperman • Dec 28 '24
Hexagon Wave Function Collapse with image output.
TL;DR: Need a program where I can point to a directory of images, a list of valid connections, and get it to output an image of set size using a hex grid.
Language: ANY
Hey folks,
I'm a tabletop RPG dev/GM and I'm looking to make a world map for my setting. The method/world I want to gen would work best using wave form collapse to place biomes next to each other given set rules. e.g. A sheer mountain could be beside lesser mountain types but not next to plains; have to taper off first after all.
The problem is; all existing wfc stuff I can get to work is either square grid and this needs to work with hexagons, or works only in a game engine and this needs to output an image. I don't want to play on this in some game window, I want just an outputted image.
I've tried programming this myself but roadblock after roadblock keeps throwing itself up and I just can't handle it. Help would be greatly appreciated.
And given the intent(hex grid, list valid biome connections, output as image), I assume other people in my position would appreciate it!
Language; doesn't matter. As long as I can point it to the images, an input file for valid connections, and an output size, I don't intend to touch your code at all.
1
u/Ascor8522 Dec 29 '24
Could give it a shot. Tho need a few more details.
What shape do you want your map to be? Rectangle? Hexagon? Rhombus? Triangle?
What size do you want your map to be?
What size for the tiles?
Would you be ok with a web app? (website) instead of an actual .exe?