This program was created in python.

It writes a random poem taking random words from dreams.

Each stanza takes random nouns, verbs and adjectives from one single dream

and built a new sentence with them, recreating the sense, but not the full dream.

To create the shape I made  functions that  add empty spaces in between words.

 

One single line look like this:

print multi_spaces(15) + random.choice(nouns) + multi_spaces(2) + random.choice(verbs) + multi_spaces(3)+ random.choice(adjectives) + multi_spaces(2) + random.choice(nouns)

 

Here some examples of the results: