Examples
Every example runs the real engine, in this page — the site consumes @maomi/sge as an npm package exactly the way your app would. Click ▶ and the demo takes over the screen; Esc or ✕ closes it (in FPS demos, press Esc once to release the mouse, again to close).
| Example | What it shows |
|---|---|
| Physics playground | FPS, Player, every primitive body, look-at cursor |
| Voxel world | VoxelTerrain, skybox, streamed physics |
| Fractal garden | Game (orbit scene), stageBackdrop, onFrame |
| Board scene | Game + the slot-based HUD: score, hint, button, dialog |
The source for each demo lives in the site repo under website/demos/ — each is a single file exporting createGame(): HTMLElement, the engine's whole integration contract.