This is a demonstration of the Wave Form Collapse algo (in tileset mode), implimented for text in js. Each example is fed from a txt file containing a tileset, and is 10 tiles wide by 15 tiles high for no reason in particular.
The code is available at https://github.com/Zaphodious/wfctext
(BTW, if you want to try out your own tileset file, go to the set tester page
tileset1 tileset2 tileset3 giant1 giant2 giant3 giant4