Free · no signup to try · runs on Chromebooks

Legged Robot Lab

A robot dog standing on four feet is steady. Lift one paw and it can tip over, because the shape its feet make on the floor just got smaller and its center of mass is no longer over it. Legged Robot Lab draws that shape and that center on the floor under the robot, live, while students program it in Blocks or Python. They lift a paw and watch it fall, lean first and watch it hold, then walk: one leg at a time, three legs at a time on a six-legged hexapod, a gait written as one list, and a trot on two diagonal feet. Every level is one idea about walking that real legged robots are built on.

This is the whole app, opening on Level 1 with the starter program ready. Press the round play button and watch the robot dog lift a paw.

Open it full screen

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 lifts the robot dog's front left paw, and the dog tips over, slowed down so the class can see it go. Ask what changed when the paw came up. Point at the green shape on the floor and the dot: the dot left the shape. Then ask what the robot could do before lifting the paw so the dot stays inside. Level 2 is the answer: lean away first.

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

Students can use Legged Robot Lab 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/leggedrobotlab?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/leggedrobotlab?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Legged Robot Lab demo from mytekDev"></iframe>

What a student actually does

Level 1 runs a starter program that lifts the robot dog's front left paw 3 cm. The dog tips over. The tip is shown at a quarter of its speed, so the class can see the dot, the robot's center of mass, cross the edge of the green shape its feet make on the floor.

Level 2 asks for the same paw up for 2 seconds without tipping. The student leans the body away from the paw first, with one line before the lift, and watches the dot move deeper into the shape. The margin, how far the dot is from the nearest edge, is on the screen in centimeters.

Level 3 walks the dog to a line 60 cm away one leg at a time, leaning away from each leg before it steps and pushing the body forward between sides. Levels 4 to 6 move to a six-legged hexapod: one leg at a time is too slow, three at a time is the tripod, then the whole walk becomes one gait written as a list with a phase for each leg, and then it has to be fast, with servos that have a top speed.

Level 7 goes back to the dog for a trot: diagonal legs together, only two feet down at a time, so the shape under it is a line and it rocks. A slow trot rocks too far, a quick one does not. Level 8 stands the dog on a plywood board that tilts 2 degrees a second, and the student keeps it standing to 35 degrees by leaning uphill as it tilts, or by building a shorter robot. Level 12 puts a 0.8 kg box on its back, and the starter dog's servos cannot hold it with that crawl: stronger servos or shorter legs can.

Between runs the student can open the Configurator and change the robot: a dog or a hexapod with 6 to 12 legs, the length of each leg part, the servos, where the battery sits, and which way the knees bend. A footfall chart shows which feet are down over time, a slow-motion replay shows the last 3 seconds at an eighth of the speed, and the gait sheet lays out the build, the gait and each level's result on one page that prints. Levels 9, 10, 11 and 13 (a step, foot sensors, sand and a gap, and an expedition) are listed and come in a later version.

What they are learning while they work

Nothing here is presented as a lesson. This is what the levels are made of.

What the student doesWhat it is
Lifts one paw and watches the robot tip Support shape and center of mass. A robot standing still stays up while its center of mass is over the shape its feet make on the floor. Lifting a foot makes that shape smaller.
Leans the body away before lifting the paw Stability margin. The distance from the center of mass to the nearest edge of the shape. Leaning first makes it bigger, so the lift no longer tips the robot.
Walks one leg at a time, leaning before each step The crawl, a statically stable gait. Three feet stay down while one swings, so the robot could stop at any moment without falling. It is safe and it is slow.
Lifts three of the hexapod's legs at once The tripod gait. Two triangles of legs take turns. There is always a triangle of feet on the floor, so six legs can walk fast and still never tip.
Writes the whole walk as one list, one phase per leg Gaits as data. When in the cycle each leg lifts, plus how long it stays down, describes a walk for any number of legs. Changing the list changes the gait.
Makes the hexapod reach the line in under 6 seconds Speed as a rate. Speed is the stride length times the strides each second. The servos have a top speed, so a stride cannot be swung faster than they turn.
Trots the dog on two diagonal feet Dynamic balance. Two feet make a line, not a shape, so a trotting robot is always tipping a little. Quick steps catch it before it goes far, and slow ones do not.
Keeps the robot standing on a tilting board Slopes and tipping. On a slope the center of mass moves downhill of the feet. A robot tips when the slope passes a limit set by how wide its feet are and how high its center is.
Carries a box and reads each servo's load Torque and leverage. A servo holds the weight on its foot times the lever, how far the foot reaches out from the joint. Stronger servos, more legs or shorter legs all help.

How to tell whether it landed

Ask, and let them show you on the robot. A student who has understood it can answer these in one sentence.

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.

Engineering design (NGSS MS-ETS1-1 to 4, HS-ETS1-4)

A dog and a hexapod, different legs, servos and loads, judged against the same levels, with the simulation as the model a design is tested on.

Computer science (CSTA 2-AP-12, 2-AP-17, 3A-AP-14)

Loops of moves tested and refined against a goal, and a whole gait written as a list with one entry per leg, so the same program walks any number of legs.

Physical science and math (NGSS MS-PS2-2, CCSS 6.RP.A.3b)

Mass and the center of mass, a slope pulling the center downhill, servo force against weight and lever, and speed as stride length times strides a second.

Practical notes

For classes without a robotics budget

A walking robot kit needs a servo for every joint, a controller and a battery for every pair, and the first sessions go to calibrating legs. Here every student has a robot dog and a hexapod at once, can tip them over as often as they like, and sees the shape under the feet that explains why. A class that later builds a real one starts from programs and gaits it already understands.

Common questions

Is it free?

Yes. Legged Robot Lab has no paid tier, and it can be tried right on this page without an account. Saving needs a free account.

Does it work on a Chromebook?

Yes. It runs in the browser with nothing to install.

Do students need to know how to code?

No. Level 1 runs a starter program, and the Blocks tab is drag and drop. Python is there for students who want it, and Start from my blocks turns their blocks into the same Python.

Do students need to know the physics?

No. The early levels need only the shape and the dot on the floor. The margin in centimeters, the servo loads and the tipping angle on the slope are there for classes that want to go deeper.

Are the numbers real?

The starter robot dog weighs 0.52 kg, with leg parts 6.5 cm long and hobby servos of the size classroom robot kits use. The tipping, the slope and the servo loads come from the same model, so the board tips the starter dog at about 31 degrees, where the slope's tangent equals half the width of its feet over the height of its center.

What does it simplify?

The robot moves slowly enough that it is worked out pose by pose, the way a crawling robot is designed, and a tip is a fall over one edge of the shape. Feet are points with rubber grip, servos are exact until they are overloaded, and nothing bounces or breaks.

Can students see each other's work?

Only if they share a project. Typed words in a shared project, its name, the robot's name and the program, pass the platform's filter.

Still have a question? Ask us, and a person will write back.

Where to go next

Start with Legged Robot Lab

Trying it costs nothing and takes about five minutes. An account is what makes the work last.

Legged Robot Lab is one of the making apps on the platform. Every level runs on one model of the robot, so the shape a student watches under the paw in Level 1 is the one every walk after it has to keep the robot over.
Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.