bevy_webgl2
tract
Our great sponsors
bevy_webgl2 | tract | |
---|---|---|
4 | 20 | |
168 | 1,834 | |
- | 4.1% | |
1.7 | 0.0 | |
almost 2 years ago | 8 days ago | |
Rust | Rust | |
MIT License | Apache 2.0/MIT |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bevy_webgl2
-
Is there a way to use piston with wasm?
There was a rust game jam in September 2021 and some games are playable in the browser. In that game jam the most used game engine was the bevy game engine. But most of the games made in bevy were not made playable in the browser, the ones that were playable in the browser used a third-party bevy plugin called bevy_webgl2. However now bevy has been updated to version 0.6 that has new built in WASM support, so there seems to be no need for bevy_webgl2. Targeting WASM with bevy might mean that not all features of the engine are available, so you need to limit the game’s features used to the ones that are compatible with WASM.
-
Bevy 0.5
For web assembly there is the unofficial bevy_webgl2 plugin. Official bevy web assembly support would probably use the wgpu webgl backend, which still needs some work, and is currently untested in bevy.
-
Running ML models in a game (and in Wasm!)
Thanks to bevy_webgl2, this is actually very straightforward. I just need to add the plugin WebGL2Plugin and disable the default features of Bevy to only enable the one available on Wasm.
-
Advice for doing a web-playable 7DRL
Bevy has bevy_webgl2, which is supposed to enable a way to compile bevy for wasm and consequently run in a browser.
tract
-
Are there any ML crates that would compile to WASM?
Tract is the most well known ML crate in Rust, which I believe can compile to WASM - https://github.com/sonos/tract/. Burn may also be useful - https://github.com/burn-rs/burn.
-
[Discussion] What crates would you like to see?
tract!!
-
tract VS burn - a user suggested alternative
2 projects | 25 Mar 2023
-
Machine Learning Inference Server in Rust?
we use tract for inference, integrated into our runtime and services.
- onnxruntime
- Rust Native ML Frameworks?
-
Brain.js: GPU Accelerated Neural Networks in JavaScript
There's also tract, from sonos[0]. 100% rust.
I'm currently trying to use it to do speech recognition with a variant of the Conformer architecture (exported to ONNX).
The final goal is to do it in WASM client-side.
-
Run deep neural network models from scratch
There are some DL libraries written in Rust: https://github.com/sonos/tract , https://docs.rs/neuronika/latest/neuronika/index.html . The second one could be used for training, I think.
- Which areas in tech have the most job density using Rust?
-
BlindAI: fast and privacy-friendly AI deployment solution in Rust
I am glad to introduce BlindAI, an AI deployment solution, leveraging secure enclaves, to make remotely hosted AI models privacy friendly. We leverage the tract project as our inference engine to serve AI models in ONNX format inside an enclave. We also use the Rust SGX SDK to use Rust for our secure enclave for AI.
What are some alternatives?
onnxruntime-rs - Rust wrapper for Microsoft's ONNX Runtime (version 1.8)
wgpu-rs - Rust bindings to wgpu native library
awesome-bevy - A collection of Bevy assets, plugins, learning resources, and apps made by the community
bracket-lib - The Roguelike Toolkit (RLTK), implemented for Rust.
MTuner - MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
linfa - A Rust machine learning framework.
ncurses-rs - A low-level ncurses wrapper for Rust
fairseq - Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
bevy - A refreshingly simple data-driven game engine built in Rust
tangram - Tangram makes it easy for programmers to train, deploy, and monitor machine learning models.
tractjs - Run ONNX and TensorFlow inference in the browser.
bevy_webgl2_app_template