I did kinda the opposite and instead of making a font out of tetris I made a font play Tetris.
I did it with the Harfbuzz shaper which now have experimental support for embedding WebAssembly programs to shape fonts.
Talk where I show it off: https://www.youtube.com/watch?v=Ms1Drb9Vw9M
Source code: https://github.com/Erk-/programmable-fonts
You can also see actual uses of this WebAssembly embedding to show that is not just for fun here: https://github.com/harfbuzz/harfbuzz-wasm-examples
Coolest thing I've seen so far this year. Demo starts at 22:55 but the whole presentation is worth watching.
I agree. Watched the whole thing and the entire video is worth it.-
(The "historical exploration" of type, and typesetting, even if an introduction, is great ...)
Awesome.
This is precisely the sort of beautiful thing I love finding on HN.[a]
Your work put a smile on my face.
Thank you for sharing it here!
---
[a] For those here who only want to see the demo, it starts at 22:50: https://youtu.be/Ms1Drb9Vw9M?t=1370
---
PS. I also submitted your demo to HN. I think it deserves its own post: https://news.ycombinator.com/item?id=40737961
I liked how you set your bio in the "About" section, kind of circular dependencies :)
Nice demo. Really kicks all the "bytecode can never be fast --- we have to AOT everything" people in the teeth, doesn't it?
You can even play Pokemon using fonts: https://www.coderelay.io/fontemon.html
thats absolutely bananas, awesome job. The bad apple showcase is great too.
Incredible ...
(The Tetris pieces going up upon backspace are a riot :)