Example apps live in the engine repo under apps/. Run from the app directory: ./plume3d . (after building) or from repo root: plume3d path/to/app.
| Example | Description |
|---|
| Aspect Ratio | Design resolution (1280×720) and letterbox scaling; resize to see black bars |
| Window Demo | Display window title, width, and height via the Window API |
| Example | Description |
|---|
| Audio Basic | Play a click (Space) and toggle looping music (M) |
| Audio 3D | 3D listener and moving source; A/D move listener, Space plays sound, source on sine path |
| Audio Player | Radio-style tuner: tune with Left/Right, stations from channels.toml, static when off-frequency |
| Audio Player 3D | 3D radio with power button, knobs, and body rotate; blend-loaded model, raycast picking |
| Example | Description |
|---|
| Blend Load | Load Cube.blend, instantiate Cube and camera/light from blend; FPS camera, raycast-drag cube |
| Example | Description |
|---|
| GUI Overview | Basic Nuklear GUI: two windows, labels, buttons |
| GUI Input | Live display of mouse, keys, modifiers, and window size |
| GUI Calculator | Full calculator built with GUI buttons and layout |
| GUI Configurator | Settings panel: quality, fullscreen, window size, design size, scale mode (stretch/letterbox/integer) |
| GUI Terminal | In-game terminal: backtick to open; #!command methods (help, hello, reload) |
| Example | Description |
|---|
| Plume Triangle | Minimal: load shader, create colored triangle mesh, draw |
| Mesh Lines | Line list, line strip, and line loop draw modes |
| Mesh Points | Point mesh with animated colors |
| Mesh Indexed | Indexed cube (8 vertices, vertex map for 12 triangles) |
| Mesh Draw Range | Animate draw range to reveal a grid of triangles over time |
| Mesh Dynamic | Animated trianglestrip (circle with wave + color animation), setVertexAttribute + flush |
| Mesh Attributes | Animate per-vertex position and color via setVertexAttribute; GUI and terminal commands |