News for hackers. Stuff that matters.
Re:Show HN: Handwritten.js – Convert typed text to realistic... by MikeTheGreat on Tuesday August 18, 2020 @08:48PM (#24206045)
This is really neat! I love how it looks, and the selection of styles.

A couple of times, using Style #2, it generated a bunch of loops at the end:

Text: "The quick brown fox, etc" Image: https://pasteboard.co/Jn0O17a.png

Still - nifty, and fun to play with. Makes me want to find an application / excuse to use it :)

Re:Show HN: Handwritten.js – Convert typed text to realistic... by aldanor on Tuesday August 18, 2020 @09:00PM (#24206120)
Here's a "Hello World" with a whole ton of loops as well :)

https://imgur.com/fhG2Fwq

Re:Show HN: Handwritten.js – Convert typed text to realistic... by chrisco255 on Wednesday August 19, 2020 @12:03AM (#24207041)
That's a totally acceptable "helloooooooo world"!
Re:Show HN: Handwritten.js – Convert typed text to realistic... by sjv on Tuesday August 18, 2020 @09:04PM (#24206135)
The model was trained on a relatively small dataset which has few occurrences of the letter x, almost none of which are in cursive. As you've found, asking the model to write out an x in a cursive style can totally derail the generation process.
Re:Show HN: Handwritten.js – Convert typed text to realistic... by fps_doug on Wednesday August 19, 2020 @04:31AM (#24208356)
Any ELI5 for people who know close to nothing about NN, AI, machine learning etc?

Like, how does one letter it doesn't know how to write well make it skip/mess up the following ones too? I mean, "derail" seems a fitting description to what I'm seeing, but how?

Re:Show HN: Handwritten.js – Convert typed text to realistic... by alexanderskates on Wednesday August 19, 2020 @08:11AM (#24209590)
The "handwriting" data for this model is basically the coordinates of a pen. The length of the string representation of the text is very different from the length of the coordinate representation of the text, therefore the model "learns" a window corresponding to when it is drawing the current letter, and when to start the next letter. For these letters, as the model doesn't learn how long this window should be, nor how to transition from it to the next letter, it gets stuck and outputs nonsense.
Re:Show HN: Handwritten.js – Convert typed text to realistic... by chris_st on Wednesday August 19, 2020 @07:04AM (#24209107)
There must not have been many "z"s either -- "quartz" failed as much as "fox" in my tries. Still, nice work!
Re:Show HN: Handwritten.js – Convert typed text to realistic... by iforgotpassword on Wednesday August 19, 2020 @02:53AM (#24207860)
I got that to after playing around a bit and then trying that phrase. It gave me a really good laugh, as if AI just went "ah shit, why does everyone enter this stupid phrase eventually?"