Side project / 06

Elsewhere

Come back to a changed world.

Elsewhere comparing a recorded shoreline with its present burn scar

Overview

A living-world simulation built with Rust and WebAssembly.

Key capabilities

  • Fly a survey glider, record a place, and compare it with the world on return.
  • Observe vegetation, population counts, migration, weather, and spreading fire.
  • Replay the shared simulation in a headless WASI component.

Under the hood

Technical decisions

Simulation independent of the camera

A dedicated worker advances the whole world. Integer arithmetic and a seeded generator make replay deterministic.

Two adapters, one core

The browser Wasm module and headless WASI command share Rust simulation logic, allowing parity checks without coupling ecology to rendering.

Current limitations

Desktop keyboard play is intended; touch flight controls are absent. Reloading resets the world, and closed pages do not evolve. Wildlife are population counts, not individual agents.

Stack

  • Rust
  • WebAssembly
  • JavaScript
  • Web Workers