JDSoft / Games
DE / EN
Tech Demo TypeScript / Three.js 2026-10

Zeitflug

Interactive 3D time machine through space exploration history using real JPL ephemerides.

About this game

Fly through the history of space exploration · Flieg durch die Geschichte der Raumfahrt

An interactive 3D time machine through the history of space exploration: scrub through time and watch planets and spacecraft move to their real historical positions. Live at zeitflug.jdsoft.de.

Deep links and debugging

The app reads these URL parameters on start, and from the first change on it writes the view back into the address bar (date, mode, focus/follow, mission, speed, play), so the address is always a direct link to what is on screen:

Parameter Example Effect
t t=1979-07-09T22:00Z date/time (UTC)
mode mode=realistic overview or realistic
focus focus=jupiter focus a body or spacecraft
follow follow=voyager-2 follow a spacecraft
mission mission=cassini-huygens open the mission's detail panel (and fly to its spacecraft in flight, without focus/follow)
speed speed=1h 1h, 6h, 1d, 1w, 1mo, 1y
play play=1 start playing
lang lang=de en or de
quality quality=low rendering tier high / medium / low for this session (default: automatic, drops a tier when frames get slow)
intro intro=1 force (1) or skip (0) the first-visit intro; links with state (t, focus, …) skip it anyway
fps fps=1 show the FPS meter
debug debug=1 FPS meter + lil-gui panel (live tuning of the scale profiles, trajectory line experiments)

Example: /?t=1979-07-09T18:00Z&follow=voyager-2&speed=1h&play=1 rides along with Voyager 2 past Jupiter.

In the browser console, window.__zeitflug is the scene object (debugState(), screenPosition(id), …); the e2e tests use it.

Keyboard: Space play/pause, ←/→ one day (Shift: one month), ↑/↓ time warp (speed) one detent up/down, R play backwards/forwards (or long-press the play key), P photo mode, M scale mode, F follow the focused spacecraft, Esc stop following.

CI & deployment (GitLab)

.gitlab-ci.yml runs check (lint, typecheck, unit tests, data validation) → build → e2e (Playwright, desktop and Pixel 7 emulation) for merge requests, and additionally deploys dist/ to GitLab Pages on the default branch (pages.publish: dist; dist/ is used because public/ is Vite's static-asset folder).

The project lives on the self-hosted GitLab at git.jdsoft.de/jens/space-missions-opus55 (CI runs on the shared Docker runner). Pages access is set to public; GitLab Pages serves the site under the project's unique domain space-missions-opus55-ea7fc0.pages.jdsoft.de (root path, so the default base: '/' works).

zeitflug.jdsoft.de is not a GitLab custom domain. The host's openresty proxies it to that unique domain:

  • vhost /etc/nginx/sites-available/zeitflug.conf (enabled via symlink) → proxy_pass http://127.0.0.1:8281 (Pages daemon) with Host: space-missions-opus55-ea7fc0.pages.jdsoft.de;
  • TLS from resty-auto-ssl (Let's Encrypt): zeitflug.jdsoft.de is listed in allow_domain in /etc/nginx/nginx.conf;
  • DNS: zeitflug.jdsoft.de resolves to the server like the other *.jdsoft.de services.

If the project is renamed or moved, its unique Pages domain changes (Deploy › Pages shows it) and the Host header in the vhost has to follow.

Smoke-test the deployed site with BASE_URL=https://zeitflug.jdsoft.de npm run test:e2e (no local preview server is started when BASE_URL is set).

Keep the Playwright image tag in .gitlab-ci.yml in sync with the @playwright/test version

More like this

SimuSpace
Beta

SimuSpace

2026

Space transport tycoon: persistent logistics worlds powered by Rust and Three.js.

Rust / Three.js
Collapsing Worlds
Beta

Real-time multiplayer battle royale inside a star system collapsing from the outside in.

Godot 4.7
Go Hijack Yourself!
Beta

Third-person co-op trap defense aboard FS Unbesiegbar — 4 crew roles, 22 traps, 3 decks.

Godot 4.7 / Blender