Velocity
km/h
Altitude
km

Spec

Read from the CSS this page runs on. Stepped, three tracks in one: a low orbit, a polar orbit and a transfer orbit round the Earth, sixteen fine marks along each. Grab any orbit and drag the vehicle along it; the globe turns as you go, each orbit turning it its own way about its own axis. Mission clock, velocity and altitude run across the top, always on screen; the orbit and the step read along the bottom.

Orbits

Scene
EarthA wireframe globe drawn in code, radius 48, centred; its equator tilts to match the orbit in use
OrbitsThree ellipses round the globe, each 330° long and turned its own way; the far half passes behind the Earth
Stops
Orbit nameMono 600 7px at the start of each orbit: LEO, POLAR, GTO
VehicleWhite 4px dot in a 9px grey halo on the orbit in use; a 3px grey dot marks where each other orbit's vehicle waits
TurningLEO turns the globe east 24° a step, POLAR west 30° about a steep axis, GTO east 16° about a tilted one
MotionEverything rides one smoothed value per orbit: 45ms behind the finger while dragging, then an easing glide to the nearest tick; the globe's tilt eases to each new orbit

Telemetry

Mission clockMono 600 14px, top right, X+hh:mm:ss, from the start of the orbit in use
Velocity, altitudeMono 500 11px after a 1px rule; worked out from where on its orbit the vehicle is
FooterMono 500 7px: the orbit with its inclination, and the step out of sixteen

Colour

Space
Orbit in use, vehicle, values
Other orbits
Ticks ahead

States

HoverWithin 10px of a visible line, that orbit lights grey with its name and the cursor becomes a hand; the halo opens to 10px. Nothing moves yet. The part of an orbit behind the globe can't be picked, and the orbit in use wins where lines cross
PressedOn the vehicle, it is picked up where it is; on a line, that orbit becomes the one in use, the globe tilts to it and the vehicle glides to the point pressed. The halo tightens to 5px and the clock inverts. A press on empty space does nothing
DragThe vehicle follows the finger along its own orbit only, searching 1.5 steps either side of where it is, so it never jumps across the ellipse or to another track; the globe turns its way and ticks light as it passes
Let goGlides to the nearest tick
KeyboardLeft and Right one tick; Up and Down the next or last orbit; Home and End its first and last tick