Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try imgui in the browser, via JS instead of going to DOM via yew #23

Open
sumeet opened this issue Oct 5, 2020 · 1 comment
Open

try imgui in the browser, via JS instead of going to DOM via yew #23

sumeet opened this issue Oct 5, 2020 · 1 comment
Labels
3 difficulty 3, relatively straightforward

Comments

@sumeet
Copy link
Owner

sumeet commented Oct 5, 2020

#6 may be too much of a hurdle, if we want people to actually use this in their browsers. getting the performance right might be a lot of work, and the yew/wasm UI feels really janky right now compared to the wasm UI.

i would still like for the environment to work with the DOM, however, using imgui wasm may be a good shortcut to be at least usable on the web.

probably not just plug and play because the current imgui adapter layer is doing event loop and glutin stuff, probably works differently in wasm. probably worth trying a clean wasm-imgui-rs project just to see what's involved.

@sumeet sumeet added 5 difficulty 5. either not straightforward, difficult, or a lot of work. could possibly be broken down 3 difficulty 3, relatively straightforward and removed 5 difficulty 5. either not straightforward, difficult, or a lot of work. could possibly be broken down labels Oct 5, 2020
@sumeet
Copy link
Owner Author

sumeet commented Oct 17, 2020

no idea how to get imgui-rs working in wasm (and i asked about it here imgui-rs/imgui-rs#342 (comment))

but this project looks promising, can probably call into here from js (lol) https://github.com/flyover/imgui-js

@sumeet sumeet changed the title try imgui-rs's wasm support try imgui in the browser, via JS instead of going to DOM via yew Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 difficulty 3, relatively straightforward
Projects
None yet
Development

No branches or pull requests

1 participant