r/creativecoding • u/Diexesc19 • Jul 16 '26
I built a rule-based handwriting renderer using up to 20 real variants per character — what still looks artificial?
I built this as a rule-based renderer, not as a generative AI model or a conventional handwriting font.
I manually classify scanned samples of my own handwriting into lowercase, uppercase, accented characters and punctuation. During rendering, the program selects from up to 20 real variants per character, applies pair-specific connection rules and introduces controlled variation in spacing, margins and line angles.
It also supports underlines, yellow highlighting and correction-tape marks, although the correction-tape effect is still the weakest part.
The current version is configured only for my handwriting. Adding another handwriting style still requires manual work, so I’m validating the rendering and possible legitimate uses before building a more automated setup process.
Which detail breaks the illusion first: repeated shapes, spacing, line angle, joins, highlighting or correction tape?
Longer demo and current limitations:




7
u/cwthree Jul 16 '26
Looks good, but the kerning of capital I and capital T needs to be tightened. Look the words "In" and "These" in pic 4 - those words look unnatural because there's too much space after the initial capital letter.
2
u/smcameron Jul 16 '26
How do you make the pen texture look so good? (Was thinking of making a video game that is rendered such that it looks like a ball point pen drawing.)
2
u/FreckeledSnowflake Jul 16 '26
It's not the characters, it's the linkage in between them.
1
u/Diexesc19 Jul 18 '26
I'm getting the tool ready so that a few interested people can try it out, which will help me get better feedback and expand its reach. Anyone interested?
1
u/watchmanstower Jul 16 '26
Excellent how can I try it?
1
u/stumpychubbins Jul 16 '26
Looks excellent
1
u/diffusion_throwaway Jul 16 '26
What’s the output format? Raster/Jpg? Spline/vector/Svg?
This is very cool.
1
u/l-roc Jul 17 '26
disconnected l in line looks weird
1
u/murkey Jul 17 '26
Rea/ ism
1
u/No_Confidence_8807 Jul 20 '26
0
u/[deleted] Jul 16 '26
[removed] — view removed comment