Skip to content

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).

ExampleWhat it shows
Physics playgroundFPS, Player, every primitive body, look-at cursor
Voxel worldVoxelTerrain, skybox, streamed physics
Fractal gardenGame (orbit scene), stageBackdrop, onFrame
Board sceneGame + 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.