Hundred Thousand Billion Poems

I am sure it’s been done before, possibly hundreds of billions of times, but as a small coding exercise whilst writing my PhD I wrote a little piece of code which renders random iterations of Raymond Queneau’s Hundred Thousand Billion Poems on a web page. I re-found it whilst working on another project. Here it is:

See the Pen A Hundred Thousand Billion Poems by Ollie Palmer (@olliepalmer) on CodePen.

The code is available on CodePen and Github.