Categories
etcetera

Generative Writing

I wanted to generate random hand-written letters and have them look like writing. I wanted each alphabet to have a unique style: aspect ratio of characters, sharpness, and number of strokes. In the following image, each row is a different generated alphabet.

Seems to work alright. They are visually distinct, though sometimes too complicated.

Now let’s use the letters to mimic writing. This uses a simple transition table to go from one character to the next. Some of the alphabets are cursive, so there are ligatures between adjacent letters. A bit of randomization livens up the letters, so they don’t look like exact copies. Again, each row is a different alphabet.

Pretty good! But it still feels a bit artificial. Varying the width of the strokes helps make it look a bit more like it was made with ink:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.