Explore · Build · Discover

The Last Two Kilometres.

A moon has no air to catch you. A lander has only its engine, its fuel, and the mathematics of getting everything right before the ground arrives.

✧ This is a learning model, not an Apollo flight reconstruction. The engine figures are historically informed; trajectories, starting masses and guidance are illustrative. The 3D lander comes from your archived geometry.
Descent window · east / upReady for descent
The Moon is waiting. Press Begin descent.Illustrative 2D terrain · lander symbol not to scale
—
metres
—
metres / second · up is positive
—
metres / second
—
kilograms

Every decision leaves a trace.

Flight history · altitude (mint) and fuel remaining (amber), each normalized to its starting value.

The machine behind the numbers.

Drag to turn · Sketch model · schematic proportions
ORIGINAL 3D SKETCH

A newly authored, schematic lunar-module illustration built from geometric primitives. Not a scaled Apollo CAD model; the landing dynamics are calculated separately.

Same vector. Different language.3D coordinate instrument

Rotate the spacecraft and its body vector turns in world space. Express it in cylindrical or spherical coordinates and the vector itself stays the same.

‖v body‖ = ‖v world‖ = 1
01 / Forces

The engine argues with gravity.

We work in a local east/up plane. Positive pitch tips the thrust toward the east. A height-dependent lunar gravity model pulls downward.

aₓ = (T/m) sin(θ)
aₕ = (T/m) cos(θ) − g(h)
g(h) = gₛ [R/(R + h)]²

There is no air resistance, terrain slope, Moon rotation, or lateral crosswind. This is not a full six-degree-of-freedom spacecraft simulation.

02 / Fuel

Every second of thrust has a price.

Burning propellant reduces the spacecraft mass. The same engine can accelerate a lighter spacecraft more strongly.

dm/dt = −T / (Iₛₚ g₀)
m = mdry + mfuel

Teaching model: 6,800 kg dry mass and scenario-dependent propellant. Historically informed engine scale: 45.0 kN maximum thrust, 311 s vacuum specific impulse. These are not an Apollo 11 state vector or mass timeline.

03 / Guidance

Tell the machine what you want. Then test what it does.

Our simple guidance chooses an altitude-dependent descent rate and a sideways velocity toward the pad. Proportional feedback asks for accelerations and converts them to a throttle and pitch request.

vₕ* ≈ −min(27, √(1.5h))
T ≈ m √(aₓ*² + [g+aₕ*]²)

This is intentionally not Apollo's guidance computer. Real landing involved radar, inertial navigation, phase changes, attitude thrusters, and human decisions. Limited fuel or manual settings can still defeat the target.

04 / Reference frames

Geometry doesn't care what you call the axes.

The coordinate workshop implements a right-handed yaw–pitch–roll rotation. It follows the mathematical family represented in the supplied coordinate-systems archive, without copying the foam-extend implementation.

vworld = Rz(ψ)Ry(θ)Rx(φ) vbody
‖vworld‖ = ‖vbody‖

Cylindrical uses (ρ, azimuth, z), while spherical uses (radius, azimuth, elevation). A coordinate change must not change the length of a vector.

05 / Build provenance

What came from your archives?

The LEM.zip archive inspired this experiment. Its original geometry is not distributed here: the 3D sketch is newly built from elementary polygons, rings and tubes. It is a conceptual illustration, not a scale model of the Apollo lunar module.

coordinateSystems.zip contains foam-extend 4.0 code, including spherical/cylindrical/elliptic coordinate systems and Euler rotations. It is GPL-licensed, so this standalone lab implements elementary rotation formulas independently and does not redistribute that source code.

The model, physics logic and coordinate transformations in this public laboratory were authored independently; no third-party STL triangles or GPL source code are bundled.

06 / Don't trust the pretty picture alone

Let the equations take a test.

These checks test transformations, gravity, mass flow, and numerical conservation. Passing them validates some properties of the code, not an Apollo mission.

Checks not run yet.