33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
# Tessera canvas — galaxy vault (Space Engine mode)
|
|
|
|
Diegetic **cockpit HUD** over a persistent **galaxy viewport**. The vault is a **black hole** at center; each **orbit** is a **star** on an elliptical path; **snapshots** are **moons** around that star (when locked).
|
|
|
|
## Viewport modes
|
|
|
|
| Mode | Behavior |
|
|
|------|----------|
|
|
| **Flowing** (default) | Stars orbit the singularity; accretion disk spins; moons hidden; targets not clickable |
|
|
| **Locked** | Click **black hole** once — bodies ease into spaced slots and **stop**; star opens orbit console; moon opens snapshot tile |
|
|
|
|
Click the **black hole** again to resume flow. HUD line under telemetry: green “flowing” / amber “locked”.
|
|
|
|
## HUD rail
|
|
|
|
Unchanged — ◎ ⟳ ◉ ◇ ↩ consoles; **Esc** dismisses.
|
|
|
|
## Data
|
|
|
|
- Stars: `GET /api/v1/orbits` (status → star color)
|
|
- Moons: `GET /api/v1/snapshots` grouped by `orbit_name`, max 6 per star
|
|
|
|
## Demo
|
|
|
|
`TESSERA_DATA_DIR=... tessera seed-demo --force` for 12+ stars.
|
|
|
|
## Build
|
|
|
|
```bash
|
|
cd web && npm run build
|
|
cargo build --release -p tessera-hub
|
|
```
|