Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mewo2/oisin
Oisín: Wave Function Collapse for poetry
https://github.com/mewo2/oisin
Last synced: 3 days ago
JSON representation
Oisín: Wave Function Collapse for poetry
- Host: GitHub
- URL: https://github.com/mewo2/oisin
- Owner: mewo2
- License: other
- Created: 2017-05-23T14:35:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T14:59:10.000Z (over 7 years ago)
- Last Synced: 2024-08-02T05:09:07.351Z (3 months ago)
- Language: Python
- Size: 385 KB
- Stars: 240
- Watchers: 10
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Oisín: Wave Function Collapse for poetry
This is code for performing the [WaveFunctionCollapse][wfc] algorithm on poems. It mashes up sentence fragments from a given corpus to produce poems with fixed metric forms. It can also animate the process:
![Demo GIF](output/test.gif?raw=true)
It is named after Oisín, son of Fionn mac Cumhaill, the great poet-warrior of Irish mythology. He famously married Niamh, daughter of the sea god Manannán mac Lir, and disappeared over the waves to Tír na nÓg. Waves, poetry, etc, you get it.
The name is pronounced [ɔ'ʃiːnʲ] (ush-EEN).
## Support, licensing, ongoing development
This is experimental code, for an experiment that I never really finished.
The code is available under the [MIT license](LICENSE.md), so you can fork it,
improve it, learn from it, build upon it. However, I have no interest in
maintaining it as an ongoing open source project, nor in providing support for
it. Pull requests will probably be either ignored or closed.If you do make something interesting with this code, please do still let me know! I'm sorry that I can't provide any support, but I am still genuinely interested in seeing creative applications of the code.
[wfc]: https://github.com/mxgmn/WaveFunctionCollapse