Airplane Simulator teaching notes

For middle and high school computer science, physics, math and aviation teachers. These notes cover a first period, the twelve levels, the misconceptions the app is built to confront, and what it leaves out.

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 press play. The starter program only sets the engine to cruise power. Ask the class what one gust will do to a plane nobody is flying. Watch the wing drop and the plane turn, slowly, further and further. Then ask what a program would have to read, and what it would have to do, to stop it.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use Airplane Simulator right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/airplanesim?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/airplanesim?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Airplane Simulator demo from mytekDev"></iframe>

About these notes

Airplane Simulator is a four-seat, high-wing trainer over a made-up valley, programmed in Blocks or Python. The plane is a rigid body in six degrees of freedom on a 0.01 second step, with the lift, drag and stability of a common trainer and the weight, loading and speeds from its published manual. Nothing in it flies the plane: a gust, the plane's own slow spiral and the student's program are all there is.

Twelve levels are open, in the order a real light plane's autopilot adds modes: wings level, altitude hold, heading, climb, navigation, wind, then the steep turn, the approach, the landing, an engine failure, the takeoff and the whole flight. Each level saves its best run, and a flight log prints any flight.

There is no hold altitude or turn to heading command. Students get the controls (roll, pitch, rudder, throttle, flaps) and the instruments, and write the rest. The help names their correction as the P of a PID controller only as a high school stretch.

A first period

Level 1 fits in a period, with time to talk about why the plane spirals and why the first fix rocks.

  1. Run the starter (10 minutes) Open Level 1 and press the round play button or the space bar. The starter only sets cruise power. Four seconds in, a gust lifts the right wing. Ask what will happen next, then watch the bank graph: the plane rolls slowly left and turns, further and further.
  2. Write a first leveler (15 minutes) In the Blocks tab, under when started: forever, if the bank is more than 0 roll left, else roll right. Run it. It usually holds the wings, but rocks them from side to side, and the result card says so.
  3. In proportion (10 minutes) Replace the if with one block: roll by the bank times -0.02. Run it. The wings settle within a few degrees and stay there. The card calls it smooth.
  4. Talk (10 minutes) Ask why the fixed correction rocks and the proportional one settles. Then ask what a program would read to hold the height instead of the wings. That is Level 2.

The levels

Each level opens with one goal and a mission box that says what to do. The run lines name what the plane is doing as it happens, the box under the card graphs what the level is judged on, and the result card gives the numbers.

LevelThe jobWhat it is built to show
1. Wings levelBank within 5 degrees for a minute after a gustA gust starts a spiral; proportional beats if/else
2. Hold altitude3,000 ft within 100 ft and 10 knots, through sinking and rising airThe nose trades speed for height; the throttle holds the speed
3. Turn to a headingTurn to 090, roll out within 10 degrees, hold itThe bank turns the plane, not the rudder
4. Climb to an altitudeClimb to 5,500 ft and level off, inside seven minutesAsking for more climb than the engine gives stalls the wing
5. Fly the waypointsOver the lake, the town and the field, in orderBearing and distance to the next point
6. Wind on the routeThe same route in a 20 knot wind from the westGroundspeed and track differ from airspeed and heading
7. The steep turn45 degrees of bank all the way round, within 100 ftThe wing carries 1.41 times the weight; the stall speed rises
8. The approachDown the 3 degree glidepath to 200 ft above the fieldAbout 300 ft down per mile; steer the track in a crosswind
9. Land itTouch down near the mark, under 250 ft a minuteThe flare turns the glidepath's descent into a gentle touch
10. Engine outThe engine stops; glide to the fieldOne speed goes farthest; diving gets you there lower
11. TakeoffOff the ground within 1,700 ft, up to 1,000 ftThe takeoff roll as F = ma; raising the nose at the right speed
12. The whole flightTakeoff, three waypoints, the approach and the landingOne program switching modes on events

Levels 5 and 6 add readings for waypoints, Level 8 the glidepath and the centerline, Level 9 the height above the ground. Blocks students also get three event blocks: when the stall warning sounds, when reaching a waypoint, and when the altitude reaches a number.

What students get wrong, and where the app answers it

What students thinkWhere the app answers it
A plane flies itself straight if nobody touches itLevel 1: one gust and a hands-off trainer rolls into a slow spiral.
A bigger correction fixes things fasterLevel 1: a fixed full correction rocks the wings past level; a correction in proportion settles.
Pulling up makes a plane climb, full stopLevel 2: the nose holds the height only by spending speed; without throttle the speed runs out.
The rudder turns the planeLevel 3: steering with the rudder alone skids the plane, rolls it over and stalls it. The bank turns it.
A stall means the engine stopped, or the plane is too slowLevels 4 and 10: the stall is the wing's angle. A program can stall the wing at 96 knots by pulling too hard, and the engine-out glide never stalls if the speed is held.
Pointing at the destination gets you thereLevel 6: in a crosswind, the path curves. The track over the ground has to point there, not the nose.
Gliding faster goes fartherLevel 10: diving gets the plane down short of the field; about 68 knots goes farthest.
The air over the wing goes faster because it has farther to goHelp, Lift: the wing turns the air down and the pressure on top drops; the equal-transit story is wrong, and the app says so.

What the app simplifies, on purpose

For aviation and CTE classes

The tolerances come from the FAA's private pilot test standards: the steep turn within 100 ft, rolling out within 10 degrees of the heading, the stabilized approach. The plane panel is a weight and balance sheet with the trainer's own arms (front seats 37 in, rear 73, fuel 48, bags 95) and its 2,550 lb limit, and the airspeed dial carries the trainer's markings.

The autopilot modes follow the FAA's Advanced Avionics Handbook: ROL, ALT, HDG, VS, NAV and APR. Level 4's stall is the handbook's own warning: an autopilot told to climb faster than the engine allows will raise the nose until the wing stalls.

Setting it up for a class

No setup is needed. With free accounts, each student's levels, best runs, programs and plane panel save as one project. Typed words in a shared project pass the platform's filter.

Big screen hides the menus for a projector. Slower and Speed up change how fast time runs, up to 16 times; a program's wait is the plane's time at any speed. The round button pauses a flight. Sound is quiet and View, Sound turns it off.

Standards

Middle school keeps trigonometry out, so the middle school story is the instruments and the ratios: 300 ft down per mile, a descent of about 5 times the groundspeed. High school adds the wind triangle and the load factor in a bank, 1 over the cosine of the bank angle.

More help

Is something on this page wrong or not clear? Write to us.

Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.