Generate SVG files that look like real handwriting for any text you provide.
Customize output style and neatness by adjusting bias and style parameters.
Use as a reference implementation of Alex Graves' 2013 handwriting synthesis research.
Requires a compatible Python environment with TensorFlow, import structure is noted as unclean in the README.
This project generates realistic-looking handwritten text as image files. You give it a list of text strings and it produces SVG files where that text appears to be written by hand, complete with natural variation in stroke shape and flow. The output is not a font, but something that visually resembles actual handwriting. The approach is based on a research paper from 2013 by Alex Graves that explores how a type of neural network called a recurrent neural network can learn to generate sequential data, including pen strokes. This repository implements those experiments and includes a pretrained model so you can generate samples without training anything yourself. When generating text, you can control two main parameters: bias and style. Bias roughly controls how neat or messy the output looks, with higher values producing cleaner, more deliberate strokes. Style selects among different handwriting patterns the model learned from training data, so different style numbers produce output that looks like it came from different people. You can also set stroke colors and line widths. Using it involves writing a short Python script that creates a Hand object, calls its write method with your text and settings, and receives an SVG file back. A pretrained model is bundled, and a live web demo is linked from the README if you want to try it without running any code. The project was built as a research reference rather than a finished product. The README notes that the import structure is not yet clean and invites contributors who want to package it more neatly or add features like animations. It is a good example of what sequence-generating neural networks can do, but should be treated as research code rather than a polished library.
← sjvasquez on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.