by alanbernstein · 5y ago · 0 comments
I'm a little more comfortable in python, plus I think the language is better suited to this, as a DSL or something like it. I'll definitely try it out, thank you for sharing.
I just got text working, which is very exciting. It was surprisingly easy, too.
1) Render text to a high resolution 1-bit array using PIL 2) Compute the distance transform using scipy 3) Do some index fiddling to map it into world space, and it's done!
Even works with unicode: https://twitter.com/FogleBird/status/1361523405821005824