Spec

Read from the CSS this page runs on. Stepped: five orbits, 400 km to 35,786 km. The slider is the orbits: the Earth in the corner, a ring for each orbit, and the spacecraft on a line running out from the planet. Drag it outward and it climbs ring to ring; the altitude reads big in the corner, always on screen, with that orbit's speed and period under it.

Orbits

Scene
EarthA wireframe globe drawn in code, radius 52, centred 34px in from the left and 18px up from the bottom, so only a quarter shows
RingsFive, radius 76 to 200 every 31px; 1px, unreached dark, passed grey, the current one white
Flight lineOut from the Earth at 50°, 1px dotted, a 6px tick at each ring; the part climbed so far solid white
Ring label
Handle7px white square, the spacecraft
Between ringsThe height moves geometrically while dragging, so it counts smoothly in kilometres
MotionCraft, line, rings and readout all ride one smoothed value: 45ms behind the finger while dragging, then an easing glide (about 0.35s) to the nearest ring

Readout

AltitudeMono 600 18px, top right; “KM” in 9px
Speed, period

Colour

Space
Unreached rings
Labels, line
Current ring, handle, readout

States

HoverA 15px square rings the handle; the ring under the pointer turns dashed and its label lights. Nothing moves yet
PressedThe handle shrinks to 0.75; the altitude inverts, black on white
DragThe handle rides the pointer along its line, grown 1.2 with crosshair arms; rings light as it passes and the altitude counts with no lag
Let goSettles on the nearest ring
KeyboardUp and Right one orbit out; Down and Left one in; Home and End LEO and GEO