Examples

Every example is a crate in examples/. Run one with cargo run -p <name> --release.

hello_cube

The smallest complete game: a lit, rotating cube.

pbr_showcase

Materials and lighting in a top-down space scene.

graphics_showcase

Every graphics feature in one reference scene.

post_processing

Bloom, FXAA, vignette, grain — toggled live.

particles

The particle library in a small space battle.

particles_stress

Up to a million additive particles.

instancing_million

One million cubes in a single instance buffer.

physics_playground

Rapier rigid bodies on the fixed tick.

multiplayer_arena

Server-authoritative arena with prediction (client + server).

multiplayer_chat

WebSocket chat driven by engine tasks.

async_loading

Streaming assets over HTTP without frame hitches.

save_game

Save slots and settings with space3d-db.

web_demo

Browser-first demo, served by space3d serve.