-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Keep in mind WASM support. Have some examples. #7
Comments
I just discovered this package. Does this package support wasm out of the box? does it have examples? |
Hi! No we don't have out-of-the-box support for WASM yet, but it is a goal we'd like to get around to at some point. The first step that comes to mind will be winit landing the EventLoop 2.0 PR changes into master (still pending macos and x11 support). The new API has been in the works for a long time and will lend itself much more nicely to WASM support than the current API. Integration of the new winit API should be fairly trivial for nannou. The next major step is coming up for a solution for rendering. There are two major areas that come to mind:
The final step that comes to mind is webaudio support. The best approach for this would likely be contributing to the CPAL crate. We've already contributed the coreaudio and ASIO (pending merge) backends so this should be more than feasible. In summary, support for this is certainly a goal for us, however refining the native application experience first has been a priority as most of our commercial work using nannou so far has gone in this direction. |
Thanks for the thoughtful answer! |
@mitchmindtree FWIW we're working through initial gfx-hal (~Vulkan) to WebGL translation in gfx-rs/gfx#2554 |
Just as heads up:
|
Any news on this? |
@mtnmts slow progress! Now that Graphics Currently the plan of attack is to take advantage of the Audio We recently received a grant partly aimed at addressing rust audio on the web which you can read more about here. The final step in finalising the agreement with Mozilla is taking a little longer than anticipated, but as soon as that's sorted I'll dive in. |
Fix bug where point rate change could panic
Add missing steps to the platform-specific setup chapter. Update nannou dep in tests crate to point to master branch.
Add some basic free CI testing using github actions
No description provided.
The text was updated successfully, but these errors were encountered: