Oisín: Wave Function Collapse for poetry

Martin O’Leary took some time out from glaciers and maps to experiment with applying WaveFunctionCollapse to poetry. Despite it’s rough state, it’s remarkably effective at mapping text to a rhyming scheme and meter.

It also outputs GIFs so you can watch the process in action.

Digging deeper, the interesting thing here is applying WaveFunctionCollapse to something that isn’t a grid of pixels. It’s a good demonstration of the flexibility of WFC. Of course, it’s not the only algorithm that can be used in non-obvious ways. But it’s a good reminder that your generative toolbox might have more things in it than you think.

https://github.com/mewo2/oisin