Built on
The Rust libraries under Balaur (hecs, Rapier, wgpu, egui, rodio, gilrs, wasmtime, wasmi, glam and libm) and what each one does for the engine.
The Rust libraries under Balaur, and what each does:
| Library | What it does in Balaur |
|---|---|
| hecs | The ECS |
| Rapier | 2D and 3D physics, built with enhanced-determinism |
| wgpu via kiss3d | Rendering, windowed and offscreen; winit for the window |
| egui | Paints the widget nodes |
| rodio | Audio playback |
| gilrs | Gamepads |
| wasmtime | Runs scripts compiled to WebAssembly on desktop and Android |
| wasmi | A WebAssembly interpreter, for scripts under the debugger |
| glamx | Math: glam re-exported whole, plus pose and rotation types |
| libm | Bit-identical transcendentals on every platform |
| gltf, image | Model and texture loading |
| ureq, tungstenite, rustls | HTTP, WebSockets, TLS |
| serde, toml | Scenes, assets, project files, export packs |
| notify | The file watcher behind hot reload |
| tracing | Logging |
| clap | The balaur command line |
| libloading | Run-time extensions from shared libraries |