Velocity
km/hAltitude
km
km/hAltitude
km
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.
| Scene | |
| Earth | A wireframe globe drawn in code, radius 48, centred; its equator tilts to match the orbit in use |
| Orbits | Three ellipses round the globe, each 330° long and turned its own way; the far half passes behind the Earth |
| Stops | |
| Orbit name | Mono 600 7px at the start of each orbit: LEO, POLAR, GTO |
| Vehicle | White 4px dot in a 9px grey halo on the orbit in use; a 3px grey dot marks where each other orbit's vehicle waits |
| Turning | LEO turns the globe east 24° a step, POLAR west 30° about a steep axis, GTO east 16° about a tilted one |
| Motion | Everything 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 |
| Mission clock | Mono 600 14px, top right, X+hh:mm:ss, from the start of the orbit in use |
| Velocity, altitude | Mono 500 11px after a 1px rule; worked out from where on its orbit the vehicle is |
| Footer | Mono 500 7px: the orbit with its inclination, and the step out of sixteen |
| Space | |
| Orbit in use, vehicle, values | |
| Other orbits | |
| Ticks ahead |
| Hover | Within 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 |
| Pressed | On 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 |
| Drag | The 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 go | Glides to the nearest tick |
| Keyboard | Left and Right one tick; Up and Down the next or last orbit; Home and End its first and last tick |