r/codex • u/Little_Guarantee_371 • 22h ago
Showcase I built a realistic handwriting generation skill for Codex that doesn't turn your handwriting into a font
I was doing my physics homework on my ipad and thought, theres no way this couldnt be automated with ai
so i tried it and the first output was nothing like my handwriting but surprisingly, after a lot of reprompting, it looked REALLY close to my actual handwriting, it even captured the variations in my letter shapes, spacing and symbols
so I looked for existing tools that could do this without reprompting a million times, but most agent skills I tried produced something that looked too clean or more like a font than ''actual'' handwriting.
there's probably something crazy out there that could solve this beyond agent skills, but I was too lazy to set up an entire handwriting generation model.
so I decided to try my own approach. Instead of asking the image model to imitate handwriting, I had it continue an existing handwritten page and extracted the newly generated ink.
I tested my skill, noted, against vanilla Codex and two existing open-source skills: text-to-handwritten-notes-skill and Hand-crafted-Homework.skill with the same model (6.2 Sol Medium), assignment and reference pdf for the handwriting, all first prompt with no manual reprompting.
still an early project, but I'm pretty happy with the results.
repo: https://github.com/valleysonata/noted
would love to hear what you guys think
•
u/dexterthebot 22h ago
You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**
Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.
Website: https://lightwarsar.com
iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951
Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.
Contact: contact@lightwarsar.com
2
u/Futuristiclyspeaking 22h ago
The problem here is you need to tell it to make like 10 variants it uses randomly for each letter. That way you don't look at a 'y' or a 'g' for example and see they look exactly the same as all the other y's and g's. That's what gives it away as not real handwriting.. So it needs some kind of round robin type of thing where it randomly picks a variant of each letter.
1
u/nicolesimon 22h ago
Interesting. In my case i would want anything BUT my handwriting (i bascially had a failed in handwriting since elementary school - my 5th grade teacher in '83 told me to think about getting typing lessons since that would be more readable).
But if it can create nice handwriting that would be interesting. I would probably use it to create results until i am happy with it and then extract them as files per letter and turn them into a font.
or maybe multiple fonts to pick up Futuristiclyspeaking idea of variation.
but now i am curious - "I was doing my physics homework on my ipad and thought, theres no way this couldnt be automated with ai" - was your goal to create "looks like i wrote it" output?
1
u/brain-course 19h ago
Yeah did this a while ago. Useful tip: use TypeScript like jev to tell you if its legible or not or if there are artifacts and if it doesn't pass the test, render another image - I used ComfyUI for my generations
1
u/grfrazee 19h ago
17 year old me is very interested in this. I was the nerdy kid who made a font of his own handwriting and used it to bypass my AP Gov teacher's requirement that test notes be handwritten.
2
u/sdexca 22h ago
Might give it a try, been looking to build something like this for a while for my own app that sync remarkable notes. Might be worthwhile looking into to integrate to to my app.
1
u/IllustriousStay1095 10h ago
WOOOOWWWW😍