7 ms·
For anyone interested, I put together a golang version of the WFC algorithm used by townscaper: https://github.com/zfedoran/go-wfc https://github.com/zfedoran/g
by arriu 4y ago
For anyone interested, I put together a golang version of the WFC algorithm used by townscaper:
https://github.com/zfedoran/go-wfc https://github.com/zfedoran/go-wfc
And a live WASM demo if you’re into that:
https://zfedoran.github.io/go-wfc-algorithm/ https://zfedoran.github.io/go-wfc-algorithm/