Moon Landing Lab
Landing on the Moon is a control problem. There is no air to slow a fall, gravity adds 1.62 m/s of speed every second, the engine is the only brake, and the fuel that brakes it is also part of what it has to hold up. Moon Landing Lab gives a student an uncrewed lander hovering over the real ground of the Apollo 11 site and asks them to write the program that lands it, in Blocks or Python. The first program fails, as everyone's first one does, and each level fixes one thing.
Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: Open it on the projector at Level 1 and ask the class what will happen when the engine goes off 500 m up. Press play: the lander hits at about 40 m/s, and the legs take 3. Then Level 2: full thrust from 100 m. Ask the class to predict again. It still hits, at about 25 m/s, because at 100 m it was already falling too fast to stop in the room it had left.
Set up a free class Share to Google ClassroomWhat a student actually does
The first view is a robotic lander hovering 500 m above the Sea of Tranquility, the ground built from the Lunar Reconnaissance Orbiter's measured heights and photo of the Apollo 11 site, with Earth in the black sky. The lander already has a program: turn the engine off. Press play and it falls for 24.8 seconds and hits at 40 m/s. The legs take 3.
Every level is the same lander and a goal for the program. Full thrust from 100 m up, which still hits at 25 m/s. Push only when falling faster than 2 m/s, which lands softly but burns fuel. Set the throttle by how far off the speed is, and see it settle at the wrong speed. Add the throttle that holds the weight, the hover throttle, and land at exactly 2.0 m/s. Shrink the target speed with the height and use well under half the fuel. Hold a hover for a minute while the fuel burns off and the lander gets lighter. Aim below the ground so it arrives. Land with an engine that takes a second to answer.
From Level 10 the lander can lean, and part of its push goes sideways: land on a target 80 m away, read the slopes from 300 m up to find a flat spot beside a crater, then land at the Moon's south pole, on the ridge between Shackleton and de Gerlache craters, where the sun never climbs more than a degree or two and the camera cannot see the ground in the shadows but the program can read its slopes. Level 13 puts it all together, on target with the least fuel, and Level 14 is a landing the student builds: the site, the height, how fast it is already falling, the ground under it, a target and the hazard map.
The Lander menu opens a configurator: fuel, the lander's mass, the engine's thrust and how fast it answers, with live numbers for thrust to weight on the Moon and on Earth, the hover throttle and how long the fuel lasts. File, Landing report lays out the last landing as a mission team would: the touchdown against the legs' four limits, graphs of the descent, a picture and the program. A program's time is the lander's time, so the same program lands the same way on every computer.
The descent strip draws the height and the speed since the play button. A program that aims for a speed that shrinks with the height comes down fast while high and slowly near the ground, and uses well under half the fuel of a steady 2 m/s descent.
What they are learning while they work
Nothing here is presented as a lesson. This is what the lander and the levels are made of.
| What the student does | What it is |
|---|---|
| Watches the lander hit at 40 m/s after 24.8 seconds | Acceleration. Every second it falls 1.62 m/s faster. Nothing slows it: the Moon has no air. |
| Brakes at full thrust from 100 m and still hits | Stopping distance. At 36 m/s the engine needs about 190 m to stop the lander. Braking has to start while there is room. |
| Sets the throttle to (-2 - speed) x a number | Proportional control. The further off the speed, the harder it pushes. Alone it settles off target, because to push at all the speed has to stay off. |
| Adds lander.hover_throttle() to the correction | Feedforward. The throttle that holds the weight, mass x 1.62 over the full thrust, does the heavy work, so the correction only fixes the speed. |
| Works the hover throttle out again every time round the loop | A changing system. Burning fuel makes the lander lighter, so a fixed throttle that held it at the start lifts it later. |
| Aims a few meters below the ground | Steady-state error. Steering for exactly zero height slows the lander more and more as it gets close, so it never quite arrives. |
| Divides the hover throttle by the cosine of the lean | Components of a force. A leaning engine's push splits into up and sideways parts. The up part is the push times the cosine of the lean. |
| Scans the slopes with lander.slope_at() for the nearest spot under 6 degrees | Search and a safety margin. The legs take ground up to 12 degrees; the program looks for half that and takes the nearest. |
How to tell whether it landed
Ask, and let them show you on the descent strip. A student who has understood it can answer these without the app's help.
- The lander fell for 24.8 seconds and hit at 40 m/s. Where does the 40 come from?
- Full thrust from 100 m still crashed. Why doesn't braking as hard as you can save it?
- Your proportional controller lands at 2.58 m/s when you asked for 2. Why not exactly 2?
- What does the hover throttle do, and why does it fall during a landing?
- Why does a slow, steady descent from 500 m use more fuel than coming down fast and slowing near the ground?
- Aimed at exactly 0 m, the lander never touches down. Why does aiming at -5 m fix it?
- The lander leans 20 degrees. Why does it need more throttle just to stay at the same height?
- At the south pole the camera cannot see the ground in the shadows. How does the program still find a safe spot?
Use it in your subject
Not a technology class? Then the app is how students show what they learned in your unit. More projects for every subject.
Computer science, middle and high school (CSTA 2-AP-12, 2-AP-13, 2-AP-17, 3A-AP-13, 3B-AP-10)
Loops that read sensors and act, conditions, feedback control, a search over readings for the best spot, and testing a program against goals the levels check.
Physical science (MS-PS2-2, HS-PS2-1)
Forces and motion: weight on the Moon, thrust against it, acceleration, and how a change in mass changes the motion for the same force.
Math (7.RP, HSF-IF, HSG-SRT.C)
Rates (meters a second, kilograms a second), a target that is a function of the height, and the cosine of the lean for the up part of a push.
Engineering design (NGSS MS-ETS1-1 to 4, HS-ETS1-2, HS-ETS1-4)
A lander configured from fuel, mass and thrust, and a controller tested against criteria (the legs' limits, the fuel) in a computer simulation.
Practical notes
- AgesGrades 6 to 12. Levels 1 to 6 work from grade 6 in Blocks; Levels 7 to 14 and the Python fit high school.
- TimeLevels 1 to 3 fit a class period. Levels 4 to 9 are two or three periods; Levels 10 to 14 make a second unit, ending at the south pole and a landing of their own.
- EquipmentA computer or Chromebook with a modern browser. Nothing to install. A projector for the opening; a printer for the landing report, if the class hands one in.
- CostFree. The app has no paid tier and no AI.
- PrepPlay Levels 1 and 2 once yourself: press play and watch it fall, then press Next, put the blocks in, and watch full thrust from 100 m come too late.
- In a groupOne lander per student, or pairs: one writes the program while the other predicts the touchdown speed before each run.
For a class with one projector
Run Level 2 on the projector and ask the class at what height they would start braking at full thrust. Try their heights one after another, and watch the descent strip: the lander that starts braking higher lands. Then work out the stopping distance together: the speed squared over twice the braking, where the braking is the thrust over the mass, less the Moon's 1.62. At 36 m/s that is about 190 m.
Common questions
Is it free?
Yes. Moon Landing Lab has no paid tier, and it can be tried right on this page without an account. Saving needs an account.
Does it work on a Chromebook?
Yes. It runs in the browser with nothing to install.
Is the ground real?
Yes, where the lander lands. The Apollo 11 site is about 2 km of the Sea of Tranquility from the Lunar Reconnaissance Orbiter's camera: heights every 2 m and a photo with a pixel every half meter. The south pole is the ridge between Shackleton and de Gerlache craters from the Lunar Orbiter Laser Altimeter, heights every 5 m. Toward the horizon the land is made up. NASA does not endorse the app; the credits are in its Help.
Is it the Apollo Lunar Module?
No. It is our own uncrewed robotic lander, sized from the Lunar Module's numbers: its legs take a touchdown at 3.05 m/s, the Lunar Module's design limit, and its engine's full thrust, 45,040 newtons, is close to the Apollo descent engine's. Nobody rides in it, and a hard landing only folds its legs.
What does it simplify?
Until Level 10 the lander only goes straight up and down, and from Level 10 it moves east and west along one line. Its lean is turned by a steady controller, not by modeling each small thruster. The engine's efficiency is the same at every throttle, and it runs anywhere from 10% to 100% (the Apollo engine was never run between 65% and 92.5%). The hazard map has slopes only, no boulders. The landing starts from a hover a few hundred meters up, not from orbit. Earth is drawn where it shows behind the lander, not where it really stands in the sky.
Can students make their own landings?
Yes. Level 14, Build your own landing, sets the site, the start height, how fast the lander is already falling, flat or rough ground under it, a target and its ring, and whether the hazard map shows. It saves with the project.
Still have a question? Ask us, and a person will write back.
Where to go next
Start with Moon Landing Lab
Trying it costs nothing and takes about five minutes. An account is what makes the work last.
Moon Landing Lab is one of the robotics apps on the platform. Its terrain is NASA data (LROC and LOLA); NASA does not endorse the app.
Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.