3 ms·
Hmm I wonder how hard it would be to incorporate into maps. There's often a big problem laying out road labels legibly along windy roads.
by stevage 11mo ago
Hmm I wonder how hard it would be to incorporate into maps. There's often a big problem laying out road labels legibly along windy roads.
- bhouston 11mo agoGoogle Maps, since it is WebGL-based, I think would not support these advanced font rendering features out of the box. Probably could be added?
- onion2k 11mo agoTroika 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...