Skip to content

Interactive labs

Explore interactive STEM labs

Every activity below teaches something real: physics, code, chemistry, or engineering. They run right in your browser, they're always free, and there's nothing to install or sign in to.

Code & Logic

Try it yourself

Real Python, right in your browser

This is real Python running in your browser with no install and no setup. Write some code, hit Run, and see what happens.

main.py
Terminal

Run your program to see the output.

Computer Science

Program a robot to reach the flag

Stack movement blocks one after another, hit run, and watch the robot follow your instructions step by step.

Your program

0/50 blocks used

    Drag blocks here to build your program

Boolean logic

Match the truth table

Each level gives you a real-world rule and a target truth table. Pick one or more gates, compare what your circuit does row by row, then adjust until every output matches. Later levels chain gates and let you design your own table.

Read the scenario, choose your gates, and use the row feedback to fix the circuit.

How Logic Gates Work

Boolean logic is how computers make yes/no decisions. Every signal in a circuit is either ON or OFF, and each signal can also mean TRUE or FALSE.

ON means TRUE
OFF means FALSE

A circuit has inputs, which are switches you control, and an output, which is a light that reacts. A logic gate is a small rule that looks at the inputs and decides what the output should be.

Try the switches below. Toggle them and watch how each gate decides the light's output.

AND

Output turns On only when A and B are both On.

AND
Off
OR

Output turns On when A or B, or both, are On.

OR
Off
NOT

Output is the opposite of the input.

NOT
On
Try to predict the answer first. Then test your circuit.

Algorithms

Which sort wins the race?

Same shuffled bars, four different ways to sort them. Speed up or slow down to see how each algorithm thinks.

Speed60/s
Bubble sort
00

Like students lining up by height, it compares two neighboring bars and swaps them if they are in the wrong order. After many passes, the biggest bars bubble to the end.

Insertion sort
00

Like sorting cards in your hand, it takes one bar at a time and slides it into the correct place among the bars that are already sorted.

Selection sort
00

Like picking the shortest person for the front of the line, it finds the smallest remaining bar, moves it to the front, and repeats.

Quicksort
00

It chooses one pivot bar, then sorts the other bars into smaller and larger groups around it. Then it sorts those smaller groups the same way.

Merge sort
00

Like splitting a big deck of cards into tiny piles, it sorts the small piles first, then carefully merges them back together in order.

Heap sort
00

Like making a pile where the biggest toy is always on top, it moves the biggest bar to the end, rebuilds the pile, and repeats.

Algorithm fact

Bubble and selection do roughly n² steps. Quicksort, merge sort, and heap sort are usually closer to n·log n, which is why they often pull ahead as the array grows.

Build & Test

How much can a truss bridge hold?

Add weight to the bridge and see how much it can hold. The triangles help spread the load, but too much weight will make the bridge fail.

Challenge

Get as close to the bridge limit as possible without breaking it.

Best safe load: 0 kg

0 kg

Current weight

0 kg

Safe38 kg

Add weight slowly and watch the bridge deck. The goal is to get close to the limit while staying safe.

Current weight
0 kg
Bridge limit
? kg
Safety left
? kg

Tower Stability Lab

Build to the goal line, balance the weight over the base, and keep the tower standing while the lab checks your design.

Build zone
Warming up the physics lab...

Level 1 of 26

First Line

Drag from the launcher and clear the near target.

Release the drag to fire. The gray path previews the shot.

Targets
0/1
Shots
0/3
Score
0
Best
--
Angle
34 deg
Power
29 m/s
Projectile
Standard
Shots Left
3
Projectile Type

Engineering

Guide the marble to the cup

Drop ramps and pipes onto the grid so the marble, released from the top, rolls all the way to the goal.

Level 01 / 15

First Turn

Par 1

Place one ramp so the falling marble rolls across and drops into the cup.

Place one ramp so the falling marble rolls across and drops into the cup.

Rotate with R, erase with Delete, then launch the marble.

Science Lab

Chemistry bench

Build an atom, name an element

Add or remove protons, neutrons, and electrons. The number of protons decides which element you have. Try making oxygen with 8 protons. Oxygen is the element in O2 that your body uses from the air.

e+

Known stable isotope · Neutral atom

Correct: neutral Hydrogen-1. 1 protons make Hydrogen, 0 neutrons make Hydrogen-1, and 1 electrons balance the charge.

Sandbox Mode

Explore freely. Every atom still uses the same validation as Challenge Mode.

H

Element

Hydrogen

Hydrogen-1

Known stable isotope

Atomic no.

1

Mass number

1

Charge

0

Type

Neutral

Protons

Positive (+). Decides the element.

1

Neutrons

No charge. Adds weight.

0

Electrons

Negative (-). Orbit the nucleus.

1

What changed?

Start with neutral Hydrogen-1: 1 proton, 0 neutrons, and 1 electron.

Electricity

Build a circuit that turns the lights on

Drop in batteries, wires, switches and bulbs. The bulb glows when current can flow in a loop from + back to −.

Chemistry

Stack a tower of liquids

Pour different liquids and they sort themselves by density. Drop objects in to see exactly where each one floats.

0/8 levels done0 points

Choose a level

Badges

Float FinderMake 5 correct sink-or-float predictions.
Density DetectiveMake 10 correct predictions of any kind.
Layer MasterScore perfectly on a density tower level.
Formula ProNail 5 correct density calculations.
Lab ExplorerTest 10 different objects.
Streak ScientistGet 5 correct answers in a row.

Astronomy

Build a tiny solar system

Click and drag in the sky to fling a new planet. Every body pulls every other one, just like in real space.

Higher mass means a stronger gravitational pull.

Overlays

Missions

Pick a mission. Each one teaches one idea through launching, adjusting, and watching.

0 / 10

Achievements
First OrbitStable SystemEscape VelocityMoon MakerEarth MatchNo CollisionsGravity Master

More games coming soon.

Have an idea for a STEM game we should build? Tell us, we love new ideas.

Share an idea