I recently saw this video. In it, at one point jdh shows off a level transition screen they made with randomly generated nonsense text. This immediately caught my attention, and after checking out the article in the description, I realized it was way easier than I imagined. I then started implementing it in Godot.

Like jdh, I also used Percy Shelley to start with (I’m not going to act as if I knew of Shelley before, tbh).

It was really easy to setup, only taking less than an hour. I had to give it a LOT of input, though, since before it would mostly generate verbatim fragments from the texts. I was having a lot of fun with this toy, trying different inputs, such as María Elena Walsh, Borges, Homer, etc.

This one was made using Sappho's works

After this, I took a walk. There’s a point near where I live where there a bunch of trees that look like they have eyes on them, and you feel watched going past it.

A tree with an eye

It inspired me to make some pixel art based on it, and since I already had the generator, I decided to combine them. I wasn’t sure if I was going to make an actual game, with gameplay and a game loop, or just a toy. I ended up choosing the latter, since I couldn’t figure out a good idea for gameplay. The next day (today), I had this:

This one’s using a combined input of Percy Shelly, Sappho and Homer because those were the ones that gave the most interesting results. Most of the time, as the name suggests, it just generates… nonsense. But sometimes, very rarely, it creates some slightly beautiful sentences.

You can check it out here. Drop a .txt file into the window to use it as input, or just generate stuff with the default input.