Get the latest tech news

Building a Procedural Hex Map with Wave Function Collapse


medieval islands from 4,100 hex tiles, built with WebGPU and a lot of backtracking. Run the live demo · Source code on GitHub I've been obsessed with procedural maps since I was a kid rolling dice on the random dungeon tables in the AD&D Dungeon Master's Guide.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of procedural hex map

procedural hex map