Live data from Hacker News

Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

github.com

51–60 of 60 posts

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#51
post #16

This is so cursed, there is so much that begs the question - "why?"... I love it. I can't wait for the next beautiful nightmare. Maybe someone should mix font rendering with PDF rendering. Of course, with a LLM doing something in the middle.

The answer is "no why", just for fun :) Though I learned a lot about how to stuff an NN model in a WASM binary and some tricks to optimize performance.

I usually follow with "why not?", but forgot this time. Thank you for this. Again, I love it.

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#53
post #30

Nice demo. Without trying to steal the thread, what I would care is actually the opposite direction. Neither in Swift Playgrounds, nor in any other programming development environment apps for both mobile OSes, have I found a good development experience using pen instead of keyboard. Given how many of us "program" in paper notebooks, it is quite incredible that besides a couple of research projects done by PhD studen…

I could see something like Apples new calculator drawing app taking this by storm. Writing out your code and getting syntax support and all the things in your ide but with your handwriting? In the same way that the calculator writes in the answers in your handwriting, it could write in snippets of code in your handwriting. If it's going to be made though, it has to be e-ink. Go big or go home!

Yeah, something like that.

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#54
post #52

I wondered why there's just a video and no demo. But does it require the new wasm features in the browser ttf support?

You can run the demo locally following the Usage part. Currently the WASM shaper feature is not enabled in any browser, so the demo won't work in web pages.

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#55
post #24

I've read the README and watched the video, but I'm still not sure what this is doing? I know it can "synthesize [a] font at runtime", so does that mean it's creating a random handwritten font as you type? But it's not based on the user's handwriting?

Correct

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#57
post #30

Nice demo. Without trying to steal the thread, what I would care is actually the opposite direction. Neither in Swift Playgrounds, nor in any other programming development environment apps for both mobile OSes, have I found a good development experience using pen instead of keyboard. Given how many of us "program" in paper notebooks, it is quite incredible that besides a couple of research projects done by PhD studen…

Yes!

I'm on this route myself, trying various things out at https://github.com/fenollp/reMarkable-tools

Handwriting (in and out) support is very important IMO. Also being able to draw DAGs.

I'd like an e-ink device with high frame rate and HW powerful enough to run some models locally or with good enough connectivity and sensors that e.g. Computer Vision tasks can be offloaded to the users' smartphone.

Feel free to expose your ideas on there :) I welcome Open Source discussion!

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#58
post #47
post #42

Wtf is happening here what are the inputs and outputs? Hard to tell what this program does for me

The handwriting in fact consists of multiple "tiny black box" glyphs, similar to pixels in traditional rendering. The program takes the text (e.g., "Hello world") as input, and works out the (x, y) locations of these block boxes.

I prefer fonts that can be zoomed.

Re: Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM

#60
post #54
post #52

I wondered why there's just a video and no demo. But does it require the new wasm features in the browser ttf support?

You can run the demo locally following the Usage part. Currently the WASM shaper feature is not enabled in any browser, so the demo won't work in web pages.

Ah, the wasm association calibrated my brain to seeing a browser window in the demo whereas it's really gedit.
Post reply on HN