Building a Procedural Hex Map with Wave Function Collapse
Ever wondered how games like *Hades* or *Slay the Spire* generate endless, coherent hex-based worlds? This article dives into Wave Function Collapse (WFC), a procedural generation algorithm that creates seamless, rule-based maps. For developers, this is gold: imagine automating level design, generating game assets, or even building custom tools for spatial reasoning. It’s a blend of math and creativity that can save hours of manual work. [Learn more](https://felixturner.github.io/hex-map-wfc/article/)
hacker_news · 120 min read