5 ms·
I mean, Canvas is there. You're more than welcome to draw your own UIs in it, as plenty have done/tried before. Flipboard had a render-react-to-canvas project t
by madeofpalk 8y ago
I mean, Canvas is there. You're more than welcome to draw your own UIs in it, as plenty have done/tried before. Flipboard had a render-react-to-canvas project they used for mobile (which was completely inaccessible to any sort of assistive technologies), but I believe they abandoned it.
- flohofwoe 8y agoI kind of did and it works quite well. Fair point about accessibility though. Another problem is that there's no way to access system font data from WebGL. Also the way I'm currently doing rendering (continuous frame rendering even if the UI doesn't change) isn't mobile-friendly. But these are all solvable with a few more resources thrown at it (Dear ImGui is a single-developer-project, and the cross-platform rendering library (sokol-gfx) too. http://floooh.github.io/oryol-sticky-tests/imgui-highdpi-sapp.html http://floooh.github.io/oryol-sticky-tests/imgui-highdpi-sap... This is 460 KByte wasm, 260 KByte of this is embedded TTF font data.
- dmitriid 8y agoWow. Your library is simply amazing. Especially considering it's a single-developer project.