3 ms·
Troika text (a font-to-signed-distance-functions tool) can do a lot of the heavy lifting of using fonts in WebGL apps. It can also do the process of converting
by onion2k 11mo ago
Troika text (a font-to-signed-distance-functions tool) can do a lot of the heavy lifting of using fonts in WebGL apps. It can also do the process of converting from font data to SDFs in glsl, so it's fast. No idea if it supports variable fonts these days though. https://github.com/protectwise/troika/tree/main/packages/troika-three-text https://github.com/protectwise/troika/tree/main/packages/tro...