Dataset Viewer
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
orbital-one
Browser spacecraft simulator and headless flight-model SDK.
Launch from the pad, fly a two-stage ascent to orbit — or import the sim engine directly into your own project.
SnapKitty West / SNAPKITTYWEST — MIT License — 2026
What It Is
A browser 3D spacecraft simulator built on Three.js + Vite, with a zero-dependency TypeScript SDK that exposes all 8 sim modules for headless use in Node, Deno, Bun, or any bundler.
import { createState } from './src/sim/state.js';
import { tick } from './src/sim/physics.js';
import { telemetry } from './src/sim/telemetry.js';
const s = createState();
for (let i = 0; i < 6000; i++) tick(s); // 100 simulated seconds
console.log(telemetry(s).altitude); // metres above surface
Repository
orbital-one/
├── src/
│ ├── sim/
│ │ ├── state.ts Mission state (vehicle, fuel, orbit elements)
│ │ ├── physics.ts Tick-based physics integrator
│ │ ├── guidance.ts Ascent + orbital guidance laws
│ │ ├── navigation.ts Inertial navigation system
│ │ ├── propulsion.ts Engine model (thrust, Isp, staging)
│ │ ├── mission.ts Mission sequencer (pre-launch → orbit → coast)
│ │ ├── telemetry.ts Telemetry snapshot (altitude, velocity, apoapsis...)
│ │ └── math.ts Orbital mechanics primitives (Kepler, RK4)
│ ├── render/world.ts Three.js scene (planet, vehicle, trajectory trail)
│ ├── ui/
│ │ ├── cockpit.ts Flight deck HUD
│ │ └── instruments.ts Instrument panel (altitude tape, velocity, TWR)
│ ├── audio.ts Engine audio (Web Audio API)
│ ├── input.ts Keyboard + gamepad bindings
│ └── main.ts App entry point
├── tests/
│ ├── flight.test.ts Headless physics tests
│ ├── browser/flight.spec.ts Playwright end-to-end
│ └── profile.ts Performance profile harness
└── docs/verification.md Simulation verification notes
Sim Modules — SDK Reference
| Module | Export | Description |
|---|---|---|
| state | createState() |
Fresh mission state |
| physics | tick(state) |
Advance simulation 1/60 s |
| guidance | guidanceUpdate(state) |
Pitch program + orbit insertion |
| navigation | navUpdate(state) |
Inertial position/velocity |
| propulsion | propulsionTick(state) |
Thrust, Isp, staging events |
| mission | missionSequencer(state) |
Phase transitions |
| telemetry | telemetry(state) |
Snapshot (altitude, velocity, apoapsis, etc.) |
| math | keplerStep, rk4 |
Orbital mechanics primitives |
All modules are zero-dependency TypeScript. package.json exports map wires every entry point.
Quick Start
npm ci && npm run dev # browser app → http://127.0.0.1:5173
npm test # headless physics tests
npm run test:browser # Playwright (requires Chrome)
npm run build # → dist/ (static, serve over HTTP)
Requires Node.js 22.12+.
Stack
| Layer | Tool |
|---|---|
| 3D rendering | Three.js r180 |
| Bundler | Vite 7 |
| Language | TypeScript 5.9 |
| Tests | Vitest + Playwright |
| License | MIT |
Related Repos
| Repo | Description |
|---|---|
| SNAPKITTYWEST/sov | Sovereign Package Switchboard |
| SNAPKITTYWEST/mantra | Deterministic auditable language |
| GitHub | Source + CI |
- Downloads last month
- -