-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support webassembly target for hosting designs on websites? #475
Comments
For sure, we have been thinking a lot on this! This was one of the major motivations for #452. There is work underway in both the audio and graphics backends to make it possible. RustAudio/cpal#372 and gfx-rs/wgpu-rs#101 are the two to watch. Then it's a matter of tracking WebGPU adoption in browsers and waiting for them to announce support in their stable releases. |
Duplicate of #7? |
With gfx-rs/wgpu-rs#101 closed, what's left? |
The next steps for getting
For |
How close are we to web, now? |
Indeed, how close are we? I would love to use Nannou to make interactive designs with WASM. Is there some way this process can be supported? |
I'm hoping that it will be, soon. D3 is nice, but mixing in some 3D is easier with Nannou. This may depend on the WebGPU standard (or draft) being supported in browsers due to web |
I tried hard to port microwave to the browser until I came to the conclusion that it is not possible at the moment and probably for a longer period of time. Steps that can be done right now:
Blockers:
The most promising shortcut to WASM IMHO:
|
Thanks for diving into this @Woyten and reporting back on your efforts! It's a pity how slowly the browsers seems to be in adopting WebGPU. The fact that This list of actionable steps is a big help! In my mind, the trickier of the three will be |
I'm sure this is far in the future roadmap, but I think it'd be really cool to be able to compile a sketch to webassembly to be then executed as a page on a website.
I haven't really looked at this project yet 😅 so y'all might already support wasm? But there's definitely nothing in the guide, and I'm sure there's some particular kinks to work out with publishing on wasm, so I'll be interested to see how that plays out!!
Might be a helpful place: https://rustwasm.github.io/2019/02/13/this-week-in-rust-and-wasm-010.html
This looks awesome btw!
The text was updated successfully, but these errors were encountered: