Show HN: Zaplib – Speed up your webapp with Rust+Wasm
I've been using a similar stack (C++ and WASM) to build some simple applications and I enjoy it very much. For the UI components, text rendering and layout I use Dear ImGui [0] as I am very familiar with it and it allows me to implement GUIs very fast. The biggest convenience is that you can run the same code both as a native application and as a web app. The biggest drawback is you usually get 100% CPU usage when there is an active animation in the WebGL canvas because you need to redraw everything (similar to the OP's example).If you are interested, checkout my Github template repo [1] - it contains a few examples:[0] https://github.com/ocornut/imgui[1] https://github.com/ggerganov/ggweb