Rust voxel sandbox (wgpu + wasm + axum multiplayer)
Find a file
Maximus Gorog d622cdb330 Verify debugging functions work as functional contracts
Per your directive to make sure debug surfaces actually work:

test/scenarios/bench-pass-cost.yaml:
  Declarative sweep that runs each bench config (all on / no shafts /
  no post / both off) with 8s settling between, screenshots each
  config, and asserts frame_dt_ms is positive. The Playwright env
  runs SwiftShader so absolute deltas are noisy, but the scenario
  is structurally correct for real hardware where the differences
  will read clean.

Functional contract verification (run interactively):
  - All 11 wasm exports exist on window.voxel_game
  - FPS HUD renders and updates frame-to-frame
  - Telemetry getters return finite values
  - set_scene_time(42) round-trips through tick to get_scene_time
  - teleport(x,y,z) round-trips (modulo expected gravity drop)
  - look_at(yaw,pitch) round-trips
  - bench_set_disable_post measurably changes frame_dt
    (915 → 820 ms in my software environment)

18 checks, 0 failures. The debugging substrate is verified
end-to-end; remaining "local slower than deployment" gap is most
likely a WebGPU-vs-WebGL2 backend selection issue rather than a
code-path bug.
2026-05-24 17:18:41 -06:00
server pre-alpha 0.0.1 — initial multiplayer voxel sandbox 2026-05-22 23:33:47 -06:00
src Measurement-driven perf: bench-flag toggles + uncapped frame_dt 2026-05-24 16:21:19 -06:00
test Verify debugging functions work as functional contracts 2026-05-24 17:18:41 -06:00
web Runtime perf: cheap fog, sky overdraw kill, fewer cloud octaves, in-game FPS HUD 2026-05-24 15:44:14 -06:00
.dockerignore Add Docker + Caddy deploy for voxel.mxvs.art 2026-05-23 18:45:05 -06:00
.gitignore pre-alpha 0.0.1 — initial multiplayer voxel sandbox 2026-05-22 23:33:47 -06:00
ARCHITECTURE.md Add ARCHITECTURE.md mapping the functional-core/imperative-shell split 2026-05-23 23:33:02 -06:00
build-web.sh pre-alpha 0.0.1 — initial multiplayer voxel sandbox 2026-05-22 23:33:47 -06:00
Caddyfile Add Docker + Caddy deploy for voxel.mxvs.art 2026-05-23 18:45:05 -06:00
Cargo.lock pre-alpha 0.0.1 — initial multiplayer voxel sandbox 2026-05-22 23:33:47 -06:00
Cargo.toml pre-alpha 0.0.1 — initial multiplayer voxel sandbox 2026-05-22 23:33:47 -06:00
DEPLOY.md DEPLOY.md: add active-deployment runbook for voxel.mxvs.art 2026-05-23 22:52:43 -06:00
docker-compose.prod.yml Add Docker + Caddy deploy for voxel.mxvs.art 2026-05-23 18:45:05 -06:00
docker-compose.yml Add Docker + Caddy deploy for voxel.mxvs.art 2026-05-23 18:45:05 -06:00
Dockerfile Add Docker + Caddy deploy for voxel.mxvs.art 2026-05-23 18:45:05 -06:00
run.sh Tick/toc instrumentation across build + test + mesh phases 2026-05-24 11:49:08 -06:00