I’ve been playing around with Tracery recently: it’s a perfect casual creator tool, easy to pick up, simple, and powerful. I figured a valentine generator would be a fun little project, so I scribbled out some sentences one day, while procrastinating over something else.
🌹 Try it out here! Just refresh the page for new versions. 🌹
Here’s the entire Tracery grammar that makes My Generated Valentine. It’s really simple, built around just a few sentence structures.
The writing process looks something like this:
Here are the 11 sentence structures I used, with emojis for readability:
Guess what #10 and #11 are homages to?
One reason for a valentine generator was that the simplest declarations of love could be turned around and posed as questions: “I ❤️ you like a 🌈🐱” becoming “Do you really ❤️ me, like a 🌈🐱?”
I also figured that sentences with ‘you’ and ‘I’ are possibly the shortest ones that sustain interest!
Without speaking of literary merit, it was an exercise of getting the most variation out of limited ingredients, and some laughs as well.
For more on Tracery, here’s a great interactive tutorial by its creator.
Little experiments like this make me happy. I’m glad I got the chance to play around with Tracery, as well as CSS and HTML, to make something that people can have fun with.
Technically, I’m proud of a little more familiarity with Github respositories and pages, and successful CSS/HTML googling (vertically aligning text, gradients, linking fonts, doctype and quirks mode)!
P.S. My Generated Valentine has been called “super cute” and “a useful aid to all men during valentines in need of words”.