Winter Haiku Generator


I made a winter haiku generator. Any feedback would be appreciated. :smiley:

Here’s a link to the repository and one to a browser demo of the generator.

Had a lot of fun with it but it was a lot more difficult than I thought it would be. Looking back I would have added the words as objects within arrays instead of arrays with words in them, just so I could keep information about words (like conjugated forms, amount of syllables and so on) more elegantly.

The idea was to make a random haiku generator but I realized pretty fast that the scope of such a project was huge… so instead I made a generator that can generate winter haikus from a long list of predefined word sequences (but with random words).