4 ms·
They describe a fair amount of their algorithm directly on their website. Do they have patents for it? It would be fun to make an open source wgpu version, mayb
by bschwindHN 1y ago
They describe a fair amount of their algorithm directly on their website. Do they have patents for it? It would be fun to make an open source wgpu version, maybe using some stuff from cosmic-text for font parsing and layout. But if at the end of that I'd get sued by Slug, that would be no fun.
- grovesNL 1y agoSlug is patented but there are other similar approaches being worked on (e.g., vello https://news.ycombinator.com/item?id=44236423 https://news.ycombinator.com/item?id=44236423 that uses wgpu). I also created glyphon (https://github.com/grovesNL/glyphon https://github.com/grovesNL/glyphon) which renders 2D text using wgpu and cosmic-text. It uses a dynamic glyph texture atlas, which works fine in practice for most 2D use cases (I use it in production).
- bschwindHN 1y agoI did something similar with cosmic-text and glium, but it would be fun to have a vector rendering mode to do fancier stuff with glyph outlines and transforms for games and 3D stuff. And open source, of course. I suppose vello is heading there but whenever I tried it the examples always broke in some way.
- mxplerin 1y agoI have an abandoned proof-of-concept of something similar that might be worth checking out https://github.com/mxple/fim https://github.com/mxple/fim
- bschwindHN 1y agoVery interesting! I think I would get motion sickness judging by what I saw in the video, but I see what you're getting at with bezier rendering.