Game Dev Procedural Hexagonal Map Generation Using Wave Function Collapse Building a procedural medieval island world generator using the Wave Function Collapse algorithm with Three.js WebGPU — generating 4,100 hexagonal tiles in 20 seconds.