ocimbote a year ago

My first name contains one of the fewest used letters of the alphabet and in first position nonetheless: Xavier

Let me tell you: the training data did not contain that many X to begin with :D

The Xs at best look like Ts, at worst like malformed Os.

Always funny to find the blind spots of some piece of tech.

  • throwaway4837 a year ago

    Neat! Try "XxXxXxXxXx", max speed/legibility/width, style 2. The results are bonkers. It's just loops and scribbles. Interestingly, if you write your X's from top-right to bottom-left, top-left to bottom-right order, you can sort of see this in action. Grab a sheet of paper and try to write "xxxxxxxxx" really fast. You will see that loops are extremely common. I think this might be a coincidence, but it's possible it sees the kerning of two x's as a loop, then gets caught up in that false state of drawing loops.

    • tjohns a year ago

      Try "*****", style 3 or 9. I got it to write backwards at one point.

  • gjm11 a year ago

    Cranking up the "legibility" I see plenty of perfectly respectable "x"s. Are you sure this is "not enough training data" rather than "actually, people writing quickly write pretty bad 'x's"?

    [EDITED to add:] Ah, oops, I see. You were talking specifically about _capital_ X. You are right and I was wrong: the model produces disastrous capital Xs even at high legibility settings.

  • jade-cat a year ago

    i recommend trying the phrase "sphinx of black quartz, judge my vow!" on style 6, with legibility set to maximum. sometimes it looks roughly right, sometimes it opens with "sphnnneoooeoeoeoeoevorneroerof black quartz"

    • dendrite9 a year ago

      I like that phrase. On style 2 with high legibility (~75% to the right), max speed, and min width I ran it a couple times with good success then it looped off the screen for the next few runs.

      The same settings but with min speed got caught at the z, creating what looked like repeating waves then a few letters that I couldn't place from the phrase.

      Also amusing are the loops that get the tops cropped even though other letters extend higher.

    • pmarreck a year ago

      wow! I was able to duplicate that!

      as usual, the errors are at least as interesting as the successes on new tech!

    • noduerme a year ago

      I had it rewriting in style 6 several times "consider the lobster" without changing any settings, to see how random it was. After the fourth time it spat out "consider the lobsteoeororororo"

  • folkrav a year ago

    Doesn't handle accents either haha. My first name has an "é", it shows up somewhere between a straight up "t" (funny that it's the same letter as your "x") or some garbled mess.

  • PUSH_AX a year ago

    The x's are bad across the board I think. Although on the whole I think this is pretty cool.

  • dspillett a year ago

    Common punctuation wasn't particularly common in the training set either: exclamations marks lack dots except style 6 where it is at the top (some Spanish in the training set? Or misclassified "i"s?), and [deity] knows what style 9 is doing with them. Didn't dare try an interrobang :)

  • neogodless a year ago

    Oh, a bunch of XXX, ZZZ, JJJ turned into this: https://imgur.com/a/BVN9MRz (ran off the screen to the right)

    > My first name is: XXX ZZZ JJJ

    (max speed, max legibility, default stroke)

  • _ache_ a year ago

    I'm pretty sure you name is Tavier.

  • alt227 a year ago

    This is hilarious, its like its treating an X as a wonky t !

  • joshspankit a year ago

    With a couple of tries I got a perfectly legible... T

    https://imgur.com/a/PRl42rb

    To be fair, I kind of remember handwriting X (and x) as totally counter-intuitive in school.

  • dubya a year ago

    Try 'XXX'. Definitely too much variation with what should be the same glyph. It doesn't seem to know about ampersands either.

    • lovehashbrowns a year ago

      6ix9ine puts the 9 as a G and the x is all sortsa fun variations. Sometimes it’s a lowercase t, sometimes it’s a bunch of loops, and sometimes it’s two disconnected slashes.

  • kottapar a year ago

    I tried with a name starting with E, max legibility; except for styles 5 and 7 the rest of them looked like a t.

  • notoverthere a year ago

    It does the same sort of thing for the @ symbol. They, too, look a bit like a lowercase letter 't'.

  • mushbino a year ago

    Words starting with Z come out looking like a T most of the time for me.

  • shaky-carrousel a year ago

    The training data didn't contain ñ, or characters with a tilde :)

  • nashashmi a year ago

    Another great exception : 7z7z7z7z77zz

  • zmk_ a year ago

    It's the same with capital Z.

ozym4nd145 a year ago

If anyone's interested, I think this is the github url of this project (had to dig a bit since it's not mentioned in the page): https://github.com/sjvasquez/handwriting-synthesis

  • shonenknifefan1 a year ago

    Hmm, it looks like some ASCII characters are missing from the hard-coded alphabet here: https://github.com/sjvasquez/handwriting-synthesis/blob/mast...

    alphabet = [ '\x00', ' ', '!', '"', '#', "'", '(', ')', ',', '-', '.', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '?', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W', 'Y', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ]

    That seems to explain why it fails on capital X/Q and doesn't fail on lowercase x/q.

  • hunta2097 a year ago

    Wow, it's 5 years old.

    • a9h74j a year ago

      And still the style does not go to 11.

      • spiralx a year ago

        And it has a rick-roll in the README.

  • jp0d a year ago

    Thank you for the Github url. I thought this was another website like the dafont.com and is animating the text!!

  • Tepix a year ago

    Great! Can someone get it to run inside the browser using WASM?

GuB-42 a year ago

For fun: max speed, max legibility, style 2, sentence "My first name is: bla bla bla bla bla bla bla bla", stroke width doesn't matter.

It may take a few tries but at some point, you may get some weird results (about 1/4 time for me). It may happen with other settings, but these work well for me.

  • adanto6840 a year ago

    I can reproduce this very close to 100% of the time (on some of the styles) with a specific string - my string contains an apostrophe & ends with "III" suffix.

    It also reproduces, but only some percentage of the time & on some styles, with only the string "III" (no quotes).

  • v8xi a year ago

    I went minimum speed, max legibility of "A quick brown fox jumps over the lazy dog" and it gives me "A quick brown foxeeeeeeeeeeeeeeejumps..."

  • hooande a year ago

    lol it's me signing a credit card reader

  • mach1ne a year ago

    Any idea what causes this?

    • peaslock a year ago

      Neural nets often fail with (repetitive) gibberish output when the input is too different from the training data. This model appears to take in the entire text input at once or look ahead at the next input letters, so the unusual "bla bla" at the end can mess up outputs near the beginning.

      • GuB-42 a year ago

        The "bla bla" actually doesn't do much, that's the "My first" that triggers it most of the time. I only added the "bla bla" in the end to make the line longer because it looks better that way, but just writing "My first" or even "My f" is enough.

        It is described as "Realistic handwriting generator. Convert text to handwriting using an in-browser recurrent neural network", so, unlike GPT, it is not a transformer and it is small, so it most likely doesn't take the entire text input as once. Most likely, it simply overshoots the previous stroke and decides that a loop is the most appropriate way to continue, then it overshoots that loop, and again, and again, until by chance it stops overshooting and proceeds to the rest of the text. Cursive style like #2, the need for precise strokes (high legibility) and specific letter transitions seem to exacerbate the problem.

certik a year ago

I created this cursive handwriting OTF font that you can test in a browser (or any other program):

https://certik.github.io/slabikar-otf/

It correctly connects letters and it can do Czech and Slovak accents. It is based on a Metafont source (to be used in TeX) from Petr Olšák, I wrote Python code that reproduces Metafont's Bezier curves algorithm, generates curves as SVG, then calls Inkscape to convert the curve to its boundary, imports back into Python from SVG and then it generates OTF curves and the final font.

  • Heliosmaster a year ago

    Interesting: this cursive feels a lot closer than OP to the cursive i was taught at my Italian Public School: example here http://www.leomajor.pn.it/blog/wp-content/uploads/2013/12/al...

    • certik a year ago

      Indeed! The above cursive is a Czechoslovakian style from 1990s (I think it hasn't changed much since then), and most European countries have quite similar cursive. In the United States the cursive is actually similar also, but a few letters are different, notably: z, r, t and most uppercase letters. My kids learn it at public schools here in the U.S., but it is secondary after print style and assignments are not accepted in cursive... (I am sure it varies from school to school though.)

  • RobotToaster a year ago

    Would you mind if I tried to convert it into a single line opentype-SVG font for plotters?

    • certik a year ago

      Please go ahead, that would be great. The output of this script: https://github.com/certik/slabikar-otf/blob/dce9fc9e575f7d6e... creates a single line SVG. The other scripts then feed it to Inkscape and read it back as outline, so you would skip this step. You can then use this script: https://github.com/certik/slabikar-otf/blob/dce9fc9e575f7d6e... to convert to glif and the rest of the pipeline to build the font. I think I implemented single line fonts in glif.py, but if not, it shouldn't be hard to implement. If you are interested in collaborating on this, please let me know, we can add it as another job at the CI to test this mode.

      Do you have a plotter? Send some videos and photos once you get it working!

  • sprak a year ago

    Great work! Any chance that you could add the two letters ö and å?

    Å would be the same as ů but with an "a" as base.

    Ö would be the same as ä but with an "o" as base.

  • WillAdams a year ago

    Did you write this up as an article in TUGboat?

    If you did, and I missed it, could you let me know the issue number?

    If not, please do --- it's amazing!

Version467 a year ago

Combine this with ChatGPT and a Pen Plotter and you can offer heartfelt hand-written letters as a service. (That are neither handwritten, nor heartfelt, but people won't notice, or care.)

  • criddell a year ago

    I think all of the car dealers I've dealt with the past decade are doing something like this. I get "handwritten" notes from them a few times a year telling me the market is hot for my 5 year old Subaru and I'd be a fool not to trade it in.

    I don't know if it's a machine writing the notes or if that's what salespeople do when they aren't busy.

    • rootusrootus a year ago

      I work for a company that writes a lot of the fundamental technology for car dealers. In most cases you probably are getting actual handwritten notes from salespeople. They’ll absolutely put that minimal effort into lead generation.

      • boplicity a year ago

        Just goes to show how little personalization matters. Unless it's actually personal, it's still fake!

      • ed_mercer a year ago

        How is getting handwritten notes minimal effort?

        • rootusrootus a year ago

          Compared to the hoops salespeople jump through on a daily basis to chase down anything that faintly smells like a lead, scribbling notes on mailings is low effort indeed.

    • Shaggy2000 a year ago

      Japanese companies, such as Honda, have a history of using personal relationships and direct communication to get their products off the ground, such as in the case of Mr. Honda writing to thousands of dealers to ask them to stock his new invention, the bike with an engine, in order to help his company and the Japanese economy to recover.

    • fhsm a year ago

      Do you own a 5 year old Subaru? The universe thinks I own a 2011 Dodge Durango. Never owned a 2011. Never owned a Dodge. Nevertheless I get about one junk mailing a week asserting that I do. All are addressed to the same esoteric spelling of my given name (that I do not use) and my actual correctly spelled family name.

    • nirav72 a year ago

      Most likely mass printed for targeted mailing with a handwriting style font. I remember getting something similar in the mail written in what appeared to be blue ink from a ballpoint pen. Only to find out my wife got an identical piece of ad mail , just with her name at the top.

  • anigbrowl a year ago

    but people won't notice, or care.

    Most people, yes. A few will definitely notice and care. Faking this stuff is the fast way to get on my shit list, though I realize I'm in a minority here. I am very pro AI in general, but I am extremely anti-deception. If you send me a 'hand-written note' that really wasn't, why would I trust you about anything else?

    • Version467 a year ago

      I'd generally agree. I personally despise gifts that I receive just because the opposite party felt obligated to give me something. Even if I actively express that my wish is to not receive gifts this is often just ignored because gift giving is so deeply ingrained into our society.

      However the more I think about it, I don't think that I'd be opposed to receive a card that was written with the help of an AI. Surely it's much more thoughtful of someone to input a couple of keywords that they associate with me and then pick the best one from a few generated cards, than a generic card with an even more generic phrase and picture on it.

      Feels much less like deception to me and more like assisted writing.

  • intotheabyss a year ago

    One step closer to the movie Her

    • jvm___ a year ago

      Seinfeld.

      George gets married because of a typo into an AI handwritten letter service he sent to his girlfriend.

      • joshspankit a year ago

        Is this spitballing, or did that actually happen in the show? My memory is v.fuzzy.

    • sbergot a year ago

      In "Her" a human is composing the letters so this is one step further.

  • cainxinth a year ago

    Ha, it’s the thought that counts!

wolframhempel a year ago

Should it worry me that the legibility slider cranked all the way to zero is still more legible than my actual handwriting?

  • kris_wayton a year ago

    I always wondered if pharmacists had any specific training in the terrible handwriting doctors put on prescriptions, or if they all just figure it out in their first year.

    • traceroute66 a year ago

      > I always wondered if pharmacists had any specific training in the terrible handwriting doctors put on prescriptions

      One day my local pharmacist was in a chatty mood whilst filling my request and one topic that came up was doctor's handwriting.

      The answer is yes, they do (did ?) receive training in handwriting recognition.

      Basically it involves learning to recognise common abbreviations and mostly being very familiar with drug names and dosing.

      As the pharmacist said, when he received his training it was "easy" because the formulary was "somewhat shorter" than it is today. As a result he said his junior trainees struggle and frequently come to him guidance until they've had sufficient exposure.

      However with things moving to electronic prescriptions the days of deciphering will be relic of the past for many pharmacists.

      • themodelplumber a year ago

        This reminded me, I once attended a lecture by a pharmacist who got interested in handwriting and showed how different conditions and medications might manifest in customers' handwriting.

        Looking at the samples, it was pretty fascinating.

        Since he undoubtedly read a lot of doctors' writing too, and since I personally know a doctor who abused their access to medication, I did wonder what questions this pharmacist would've had about local doctors...

        • a9h74j a year ago

          Although correlated, I'm less worried about the doctors than all the prescription errors which were said to kill many people.

  • icepat a year ago

    For accuracy, it needs negative legibility settings. Anyone who's been in a sprint retro with hand written action points knows this.

  • ant6n a year ago

    Just let the computer do the handwriting and you’ll be fine.

  • smokeyfish a year ago

    Are you a doctor?

    • wolframhempel a year ago

      to my parents' major disappointment - no :-(

      • atonse a year ago

        I first read that as "to my patients' major disappointment, no" and chuckled :-)

crazygringo a year ago

This is incredibly cool.

And it definitely feels like something the creator could (and should?) make money off of.

Limit free usage to medium-resolution bitmaps and a subset of styles, but make paid downloads available for high-resolution SVG's and a wider variety of styles.

I can also imagine there's a market for ersatz "handwritten notes" from companies that genuinely appear to be handwritten, rather than using a handwriting font -- to license the software itself as some kind of mail-merge plugin or something. Combine it with an autopen or something, and nobody could tell the difference.

  • anigbrowl a year ago

    market for ersatz "handwritten notes"

    Yes, this is already A Thing in marketing, though as you say it currently uses fonts & printing. I hate it and am biased negatively against any company that does this, because their marketing materials lied o me by pretending to be a personal communication, to get my attention for their mass-produced marketing message.

    And it definitely feels like something the creator could (and should?) make money off of.

    No way! It should be reverse-engineered and reproduced so that nobody can make money by gatekeeping it. If we can automate the production of handwriting, we must be able to automate the production of automated handwriting generators.

progbits a year ago

I've had a project idea similar to this in the backlog for years: personalized signature generator that can be used to deal with dinosaurs that still want printed, scanned and signed documents.

Basically I want to take a pdf, turn it into fake scan image (add noise, some inkjet smear lines, random skew etc procedurally), then generate signature image to paste over that. Zero dead trees and screaming at printers involved.

  • linschn a year ago

    Apart from the signature generation, here is another project that does the false-scanning and signature pasting : https://gitlab.com/edouardklein/falsisign

  • stefncb a year ago

    You might as well make a scan of your actual signature and make the generator overlay the image instead.

    • layer8 a year ago

      It is trivially recognizable in PDF viewers like Adobe Reader that a signature image was pasted in (the image rectangle around the signature highlights), and can therefore be rejected as not being a genuine signature, unless you turn the whole page into an image to make it look like a scan.

      • stefncb a year ago

        Make a very high-quality noise-free image of your signature, with a transparent background. Drop it onto an equally high-quality PDF and skew it a bit. Add some toner noise to the whole image and skew the image a small bit.

        I think you can make it look decent. Haven't tried it though.

  • dsego a year ago

    MacOS Preview app has a handy feature to add a signature via the trackpad or camera and then just paste it into any PDF.

  • baq a year ago

    Just yesterday I scanned my signature and added it to Adobe Reader. It even automatically made it transparent in a correct way. It didn’t add noise though.

  • AnIdiotOnTheNet a year ago

    I scanned my signature at high resolution from blank white paper, cleaned it up a little with Paint.net, and made the white areas transparent. Pasting that into documents has saved me a lot of hassle.

    Legally I'm pretty sure you could also just draw an X on there and you'd be fine.

urbandw311er a year ago

This is perfect for those ransom letters I send out. I no longer need to search around for newspapers and am going to save a fortune on sticky tape!

  • criddell a year ago

    Just don't print it at home! Your printer is probably a snitch.

    • est a year ago

      Or you can buy a plotter.

  • credit_guy a year ago

    So now I just need to go ask this startup to see their logs. I'll get your IP address in no time. Maybe I'll need a warrant. But I'm sure these guys will just be very nice and send me their logs on an ongoing basis.

kolinko a year ago

Awesome, but fails with accents etc.

A case for polish: „Zażółć gęślą jaźń” - fails in many gunny ways.

I also tried emojis - of course it failed, but now I’m super curious how would hand written emojis look like :D

  • pndy a year ago

    > A case for polish

    I run it few times and some in some variants algorithm just gives up and produces some noodles similar to "szlaczki" - the patterns kids train before starting hand writing. Definitely the issue of diacritical mark presence - maybe the input should pick the closest "clean" Latin letter before algorithm becomes aware of accents?

  • AnIdiotOnTheNet a year ago

    It would probably look a lot like handwritten kanji.

    Asking various stable diffusion implementations, it looks like it agrees with me at least a little. When anything close to what I want is generated it tends to actually contain kanji like fire and life.

  • pjmlp a year ago

    Same with languages like Portuguese and French, it did not got any of them right.

  • layer8 a year ago

    Even ASCII characters like $&@ don’t work.

kibwen a year ago

I think a lot about how the written English language has been altered by technology. Latin majuscule letterforms were designed, AFAICT, to be easy to chisel into stone. Miniscule letterforms were later invented because they were faster to write, enabling monks to copy manuscripts more quickly. Printing press manufacturers saved money by getting rid of letters that could be replaced by combining others (the thorn), alternative letterforms (long S), and rejecting ligatures. Later, both typewriters/teletypes and low-resolution early computer displays would force English letterforms to be further simplified.

To tell the truth, mostly I'm just envious of all the beautiful calligraphic scripts that are standard in other languages, whereas with English it seems we're stuck with sterile Helvetica clones. Maybe someday we can re-beautify everyday English.

  • bradrn a year ago

    It gets even more intricate! Until the 15th century or so, there were dozens of different styles of Latin script optimised for slightly different writing technologies [0], some so different to what we’ve now converged on that I hesitate to call them the same script. Our current handwritten lowercase letters developed around fountain pens and quills — something I realised when I started using fountain pens and realised that lowercase writing suddenly became much more natural. On the other hand, our printed lowercase letters have changed little since Charlemagne standardised his miniscule script for maximum legibility with a broad-edged nib. Meanwhile, in Germany, blackletter styles developed for fast writing with the same nib; this eventually ended up as Sütterlin [1], which looks quite different to the script we’re currently using. In England blackletter developed into ‘secretary hand’ instead [2], which again looks quite different. And of course there’s more! [0] is the best overview I’ve found.

    (Thinking about this I do often wonder what a form of handwriting optimised for the ballpoint pen would look like… probably quite different to our current handwriting styles!)

    [0] https://web.archive.org/web/20100403062849/http://guindo.pnt...

    [1] https://en.wikipedia.org/wiki/S%C3%BCtterlin

    [2] https://en.wikipedia.org/wiki/Secretary_hand

sublinear a year ago

I think the legibility slider can go quite a bit lower. None of the models are anywhere close to real world illegibility.

  • RobotToaster a year ago

    Needs a "doctor" mode.

    • pjmlp a year ago

      Isn't it interesting that regardless of the culture, every nation seems to have "doctor" mode writing?

      I wonder how it comes to be.

      • andyjohnson0 a year ago

        I suspect its less to do with actual, objective legibility and more to do with patient anxiety. The things that doctors (and pharmacists, etc) hand-write tend to be personally important.

  • gpderetta a year ago

    I was going to comment the same thing, but style 6 at min legibility is almost as bad as my handwriting.

lemoncookiechip a year ago

Want to see if I could get it to do a cliche doctor's handwriting. It turned out pretty funny.

Input: 500mg of Amoxicillin, 3 times a day for 7 days. Lowest Speed, Lowest Legibility, Lowest Stroke Width, Style 6

https://i.imgur.com/lH0bPBs.png

  • dwringer a year ago

    Got the dosage perfect. Pretty close on the xmosmrelin. But the latter half is far too legible still.

  • goldfeld a year ago

    The A came out like a handwritten letter alef. Maybe it is biased towards jewish doctors.

danShumway a year ago

As other people have mentioned, this seems pretty limited and does look like it struggles a lot with "uncommon" situations. Doesn't look like it handles stuff like line wrapping either, although maybe that could be a separate step.

Still, incredibly fun to play with, and something I could easily imagine being useful at least for small projects if it was generalized just a little bit more and trained on more diverse datasets. Really cool project.

I really like that you can play with speed using (roughly) the same style/legibility settings; it would be interesting to be able to simulate handwriting for a single "character" and subtly convey information visually about what state of mind the person was in whenever they were writing.

paxys a year ago

"Realistic" in mimicking a human writing on a touch screen with their finger or stylus, but nothing close to pen on paper handwriting.

DustinBrett a year ago

This is indeed a very cool demo, and runs fully client side. I have been trying to find a way to add this to my project for a while which is a client side static website. As pointed out in other comments, this is open source: https://github.com/sjvasquez/handwriting-synthesis

  • pabs3 a year ago

    There is no license, so this is simply public source, not "open source".

  • mattsouth a year ago

    Good find. Im loving that the README of this project includes a Rick Roll

myth_drannon a year ago

It is still far, far from realistic cursive writing(especially old documents). But it's a good starting point if you want synthetic training data for writing your own handwritten text recognition NNs (specially for less common languages). It's based on 10 fonts only. I saw papers that had systems using 5000 different fonts to generate synthetic handwritten training data.

JKCalhoun a year ago

I'm right handed, only 6 & 7 styles looked to have a right-handed slant.

Perhaps a slant (skew) slider would be a nice touch.

Also, none of the styles stroke their dots (dotted "i", etc.). I know it might be derisively called "cheerleader style" (but it's the way I dot my i's to give the dot more weight).

qwerty456127 a year ago

Non-english alphabets unreadable even with maximum legibility setting.

  • bmn__ a year ago

    I have the feeling that the amount of programmers whose minimum acceptable standard for code is on the level of "garbage in, garbage out" is on the rise. I condemn this development, that's a lack of role models who can transmit the values of culture and discipline.

    If I had written that software, I would have made an effort to support the complete Latin script, or at the very least shown an error or a warning for unsupported letters.

    • duckmysick a year ago

      Looks like it's based on this paper [1]. It's a recurrent neural network trained on online handwriting data. It means you record how the position of the tip of the pen changes as you write. The training data comes from the IAM On-Line Handwriting Database which has only handwritten English text.

      If you want to support a complete Latin script, you would have to generate a lot of training data yourself, preferably in multiple languages. Quite the effort indeed.

      1 - https://arxiv.org/pdf/1308.0850.pdf

utsuro a year ago

Interesting, but has relatively low character limit.

Can’t even fit the “Tears in Rain” soliloquy from Blade Runner :/

squarefoot a year ago

As another user pointed out, it can't correctly write accented vowels. Curiously, it writes them quite differently if I add spaces between them, like it was attempting to translate the appearance of characters rather than picking them from a ascii table.

a9h74j a year ago

Trick: "Dear teacher, Johnny was sick yesterday and could not attend school. Sincerly, Johnny's mom."

Anti-trick: Soon the teachers themselves will not be able to read cursive (or perhaps, recognize the spelling error).

  • tmtvl a year ago

    What could Ferris Bueller do with AI?

Zopieux a year ago

… and of course it only supports a-z0-9 and probably one or two punctation characters. The ML diversity problem applied to language/script :-(

mortenjorck a year ago

I wonder if it would be possible to “bake” some of the logic and patterns that emerge from this into a font using more advanced OpenType features.

flockonus a year ago

Kinda funny how the AI doesn't seem to know about Kanji but hallucinates some convoluted answer anyway! Try:

日本

then, the char limit:

日本日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本

  • tmtvl a year ago

    Forget kanji, it doesn't know about "=".

ljsocal a year ago

It has issues with capital letters. One at the beginning of a word works correctly. Mor than one and it falls apart, i.e. III

  • sandos a year ago

    Ooh, thats why I thought upper-case A was broken! Apparently only when you write an all-uppercase word.

kebman a year ago

Looks pretty cool. Any support for Spencerian Script or Kurrentschrift? If that's the case I'd really love it!

legoxx a year ago

very nice, just a small comment, this is NOT handwriting style,

it should look like this in my book:

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3tT5h...

  • ygra a year ago

    Well, there are lots of different handwritings. Not everyone writes cursive (especially in the US it seems to be very rare). My own handwriting is something like a hybrid between cursive and print with a few contextual ligatures thrown in.

dom96 a year ago

I'd really love to read about how this was put together. Does anyone have any ideas about the high-level steps?

godmode2019 a year ago

This is a very old project glad to see it get the credit it needs.

One interesting thing is if you show someone this for a random sentence and ask them want do they think. They always say how did it copy my writing. Everyone thinks it looks like their own writing. Likely because its the average of all peoples writing. Try it out

Waterluvian a year ago

My very first test was: how similar is each instance of the same character? Because they always just fake handwriting and duplicate it and you can instantly tell it's just a font or whatnot. Not this one. Not only are they unique each time, but they retain the "style." Well done.

0027 a year ago

This produces some really wonky numbers. "$800+$27.321 = $827.321" is more or less indecipherable

dimatura a year ago

Gets confused with multiple exclamation or interrogation signs in a row; seems to forget about the bottom dots.

dominick-cc a year ago

This is neat. I'd like to hear a bit about how it works.

There is a similar paid API that does something like this https://handwriting.io (seems like they are down now though) I used to use it for print projects back in the day.

tysam_and a year ago

This is almost certainly an RNN, likely from the RNN-handwriting bit of work a number of years ago. I love it quite a lot, however. I believe that it has aged well into the present day. It is interesting how some algorithms do, and how some do not, these days.

albert_e a year ago

This is excellent. Can someone knowledgeable weigh in on what it would take to make an API out of something like this so one could say integrate this into a document/image/presentation generator. Or for a simpler usecae - personalized greeting card generator.

universemaster a year ago

It would be great to use this for complex latex equations.

Often a hand-writing feel makes youtube math explainers and lectures much more absorbing.

But, at the same time, handwriting makes videos a pain to edit to correct the mistakes that all math lectures longer than a few minutes inevitably have.

ape4 a year ago

Nice that the download is a SVG file

Using <path>

gobdovan a year ago

This would have been so awesome to have something like this in my high school years in Eastern Europe, where teachers ask for you to write essays by hand instead of typing them. The font is similar to my handwriting, but fails on letters with accents.

tweaktastic a year ago

I wrote Namaste, and the N for that looked more like an R. I tried again with Normalization and it produced correct letters. Then I wrote namaste and it wrote it correctly as well. Wonder why it doesn't like "N" in Namaste. :D

gobdovan a year ago

This would have been so awesome to have in my Eastern European high school, where you're required to write essays by hand instead of typing them. The font it generates is similar to my handwriting but fails hard on accented letters though.

rpastuszak a year ago

Looks lovely. Are you planning to add diacritics or Latin ext characters, (ä, ł, õ)? I'm curious how an animation with them would look as normally I'd apply them either after each word or after a bigger chunk of a word.

noisy_boy a year ago

In order to be "realistic" it introduces too much variation between the alphabets; a real handwriting has generally less drastic variations and the degree of variation also varies from alphabet to alphabet.

  • FatActor a year ago

    "real" handwriting also gets tired so it becomes progressively worse. unless the person writes a lot. which is why you see people who write left-to-write on a blank page compress and slant upward as they go.

msoad a year ago

Struggles with "special" latin characters like Ü, æ, ï etc

joshu a year ago

I wish this had centerline data so I could use it with my plotter.

Existenceblinks a year ago

Almost what I want. Is the generated written unique? I would love the chance of collision akin to UUIDv4. So I can track similar but unique signature on digital documents.

scrollaway a year ago

It seems to me it only supports ASCII. It breaks on cyrillic, accented letters, less common punctuation marks, even some random latin letters.

It's a very cool prototype but missing a LOT.

dukeofdoom a year ago

To make it more useful for video overlays:

1. Add a way to set the background color, and / or all the background to be transparent.

2. Add a way to download the animation of the writing as a movie clip

IgorPartola a year ago

I used something similar a year ago to write out a ton of Xmas cards using my 3D printer. It was really cool, but probably would have been faster by hand.

wistlo a year ago

Handwriting simulator, yes.

Calligraphy? Not quite. I'll still be paying someone to address my daughter's wedding invitations, I expect.

Unless she elopes, that is (one can hope).

mlindner a year ago

For something called calligrapher I would have expected it to be able to do Japanese, but it just produces unreadable garbage when non-English is used.

lvl102 a year ago

Would be awesome if you can download it as OTF/TTF.

  • Jarmsy a year ago

    How would that be able to work? - as it doesn't write the same character exactly the same twice, with both random variation and adapting the letters either side.

micw a year ago

Does not seem to be very consistent. When I generate 2 texts with the same "style", it never looks like written by the same writer.

nirav72 a year ago

A piece of code that can write cursively better than I ever could and l am from a generation where they forced us to learn cursive writing.

29athrowaway a year ago

You may want to experiment making characters slightly larger or smaller, and making some characters slightly more spaced than others.

daminimal a year ago

It's awesome, but it isn't internationalised and does not mention not being. üõöä letters ended up as weird strokes.

intrasight a year ago

I just see "Loading..."

Anyway, was curious if this was going to re-creating my handwriting based upon my providing some samples.

eruci a year ago

Beautiful! Now if one can make this generate random handwriting styles, and save these styles for future use I'm set!

danielcampos93 a year ago

Using this shows me how bad my handwritting is. Have to turn it down to minimal legibility to make it look like mine.

nathias a year ago

Not really that realistic, I toggle legibility to 0, it's still much more legible than my handwriting.

whitewingjek a year ago

If you put an asterisk between two words, it really confuses it.

Really neat app! I like the differences in outcomes each time.

  • jchw a year ago

    I get some pretty wild output from symbols in general. For example try something like "@#$_*" and it's hard to recognize anything, especially run-to-run. Very neat app in any case, but I will admit I'm a bit memorized by what happens to symbols.

joshspankit a year ago

Come to think of it, handwriting is one of the most perfect uses for "what's connected to what" AI.

Love this

kowlo a year ago

At worst, this produces better output than some university students sitting a written assessment!

4m1rk a year ago

Gave it something in Persian and it still tries writing something

pmarreck a year ago

1) I wonder if something like this exists, but for script.

2) I wonder if I can train an ML to do my handwriting.

meetowl a year ago

If you draw a smiley face (such as :), :^)) you can get pretty good sketches out of it

quitit a year ago

Style 2 is either broken or my doctor. Full legibility results in scribbles.

dlu306090 a year ago

I feel like Docusign could really use something like this.

itvision a year ago

It generates different writing even if you choose the same style.

kome a year ago

it can't do accents

jack_pp a year ago

breaks regularly on 'hi' , the "i" is usually not dotted and if the 'h' is connected to the 'i' it usually doesn't read right

gokuldas011011 a year ago

Increase speed and decrease legibility, i got my signature..!!

biztos a year ago

On the one hand, the fact that anything outside of ASCII is a failure mode is good for a laugh.

On the other hand, “AI” defaulting to a narrow and US-centric view of the world is not doing the discipline any favors.

Is it really that hard to find training data?

  • senbrow a year ago

    Someone created this really neat toy for us all to enjoy for free.

    They don't owe anyone anything, and certainly don't deserve to be used as an example of what's wrong with an entire discipline.

    • biztos a year ago

      Fair criticism and downvote, I apologize for my grumpy tone and unhelpful comment.

tincholio a year ago

Well, calligraphy, it is not... Decent handwriting, though.

theappsecguy a year ago

This is awesome! Would be nice to be able to change colour

  • spuz a year ago

    You can actually download the output as an SVG which will allow you to change the colour as you wish.

soperj a year ago

I expected actual calligraphy from calligrapher.ai :|

pjmlp a year ago

Great, if one only writes English.

It messes up all diacritics.

Transisto a year ago

"Zyxwsk Zyxwsk"

Looks like that broke it.

mnau a year ago

> We love our customers. ~Robotica

guelo a year ago

Great tool for forging signatures.

therusskiy a year ago

would be cool if there was an API

terpimost a year ago

Very nice! Big potential!

drKarl a year ago

It reminds me of Turry...

fallingmeat a year ago

oh it's nondeterministic! yeah this is fun

aksgula22 a year ago

nice, can we add some girl handwriting next

neophyt3 a year ago

tried this ¯\_(ツ)_/¯ did not work well

airstrike a year ago

Man, these capital E's are ugly/lazy AF

dirtybirdnj a year ago

This is SUPER FUCKING COOL

The UI is beautiful because it gets out of the way

The fact that you have a built in SVG export is chefs kiss

My only suggestion re the export is you should have it save as .svg, on my mac / chrome it just saved as an extension-less file.

Is there any way it could output line paths instead of shapes? I would love to be able to use this with my pen plotter but because of the output it effectively does tiny traces around each letter instead of natural strokes like a person does

petodo a year ago

That's not really realistic, it can't even do normal cursive handwriting with first capital letter joined, I dunno anyone who writes like any of those 10 styles, maybe they are common in US, but certainly not in this part of Europe.

Get back to me when it will knows at least something like this:

https://qph.cf2.quoracdn.net/main-qimg-5d1b0e1d28c12813e1255...

or here especially 1st and 3rd line https://d50-a.sdn.cz/d_50/c_img_E_C/3VfFjd.jpeg

Then we can talk about REALISTIC handwriting.

  • zokier a year ago

    > That's not really realistic, it can't even do normal cursive handwriting

    There is no such thing as "normal cursive". Cursive as a general style is primarily defined by joined characters, which this generator definitely does, in contrast to print writing which has separated characters.

    Even formal cursive writing systems vary wildly in style and construction, and I'd venture a guess that vast majority of people do in practice have pretty sloppy style.

    • bmn__ a year ago

      > There is no such thing as "normal cursive".

      http://enwp.org/Teaching_script

      There exist handwriting styles that have been standardised by their national ministry of education or similar, and millions of school children each year learn it. It is true that quite soon the individual's styles diverge from the normal form.

    • petodo a year ago

      All styles I tried have first capitalized letter separated (not joined as it should be properly) and written in print writing, that's not really cursive by my standards.

  • kris_wayton a year ago

    Realistic for me would be including small ink pools, skips, smudges, crossed out corrections, and so on.