A Web 3D game engine built with Rust and WebAssembly.
- WebGPU Rendering - Modern graphics API for high-performance 3D
- Physics - Powered by Rapier3D
- UI - Immediate mode UI with egui
- Animation - Skeletal animation support
use nova_engine::prelude::*;
fn main() {
Nova::app()
.add_plugin(NovaDefaults)
.add_system(Startup, setup)
.run();
}
fn setup(mut cmd: Commands) {
cmd.spawn(Camera3d::default());
cmd.spawn(DirectionalLight::sun());
cmd.spawn((Mesh::cube(1.0), Material::default()));
}rustup target add wasm32-unknown-unknown
cargo install trunk
trunk serve examples/basic_demoLicensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)