About
Activities
People
Feed
Calendar
Data Science
Soccer 2026
Publications
Categories
All
(58)
Advanced HS
(26)
Algebra
(1)
All Ages
(12)
Astronomy
(10)
Atmospheric Science
(6)
Computer Science
(3)
Data Science
(21)
Discrete math
(1)
Earth day
(1)
Electromagnetism
(7)
Environmental Science
(8)
Geometry
(2)
Hidden Figures
(2)
Intro HS
(18)
Javascript
(33)
Math
(11)
Middle School
(7)
Physical Science
(15)
Physics
(27)
Pi day
(3)
Precalculus
(2)
Public Health
(4)
Space
(6)
Spreadsheets
(17)
Sustainability
(6)
Trigonometry
(13)
Activities
View a flowchart of all STEMcoding activities here.
Accelerate the Blob
Middle School
Intro HS
Physical Science
Javascript
Create a simple game where an object can accelerate in the x and y directions depending on which arrow keys that are pressed
Air Pressure Versus Height: 1. Smartphone Data
Intro HS
Math
Physical Science
Physics
Atmospheric Science
Data Science
Space
Spreadsheets
Analyze air pressure data from a smartphone or tablet
Air Pressure Versus Height: 2. Balloon Data
Advanced HS
Math
Physical Science
Physics
Atmospheric Science
Data Science
Space
Spreadsheets
Analyze air pressure data from weather balloons
Apollo Moon Landing
Intro HS
Physical Science
Physics
Javascript
Land a rocket on the moon, but be careful not to land too hard!
Are my error bars big or small?
All Ages
Data Science
Spreadsheets
How big are my error bars? Let’s talk about it
Bellicose Birds
Advanced HS
Physics
Javascript
Trigonometry
Create an angry birds game where the arrow keys control the launch angle
Bird Launcher
Intro HS
Physical Science
Physics
Algebra
Javascript
Create an angry birds game where the arrow keys control the launch velocity
Bonk.io Clone
Intro HS
Physical Science
Physics
Javascript
If you liked the Pong activity you’ll love this activity which is based on a real game called Bonk.io
Bracket Builder
Math
Data Science
Computer Science
All Ages
Think about the probabilities involved and fill out a March Madness bracket
Building Inspector
Public Health
Data Science
Spreadsheets
Take some sensors and explore your building
CO
2
Survey
Intro HS
Public Health
Data Science
Spreadsheets
Use a CO
2
sensor to measure air quality in your building
Conductor Interactive
All Ages
Physics
Physical Science
Electromagnetism
How do electrons move inside of a conductor? Play with a web interactive to find out!
Data Organization in Spreadsheets for Ecologists
Spreadsheets
Data Science
Environmental Science
This activity was developed by Data Carpentry and has been adapted for use by STEMcoding.
Earth Day
Advanced HS
Trigonometry
Atmospheric Science
Environmental Science
Data Science
Spreadsheets
Sustainability
Javascript
Earth day
We are going to estimate the impact of global warming at your location using a simple cosine function and some climate data.
Error bars and animal sizes
All Ages
Data Science
Environmental Science
Spreadsheets
In some species, the males have a different average size than the females
Escape Velocity and Newtonian Black Holes
Advanced HS
Astronomy
Physics
Javascript
Trigonometry
That activity explores the behavior of objects like planets or comets interacting with a massive object like the sun.
Exoplanets
Advanced HS
Astronomy
Physics
Javascript
Planets exert a gravitational tug on the star that they orbit. Let’s study how this happens!
Fluid Mechanics Interactive
All Ages
Physics
Physical Science
Fluids (which includes liquids and gases) are made up of particles which can be atoms or molecules. Play with a web interactive to see how interacting particles become a fluid
Fractal Puzzle
All Ages
Math
Download a pdf of a fractal puzzle, print it out on a regular office printer and see if you can put it together!
Good Figures vs. Bad Figures
All Ages
Data Science
What makes for a good figure? What makes for a bad figure? Let’s look at some examples and discuss
Great Pacific Garbage Patch
All Ages
Advanced HS
Environmental Science
Sustainability
Why does trash in the Great Pacific Garbage Patch just keep swirling around and around instead of landing on a beach somewhere?
Indexes as a way to explain health risk
Public Health
Data Science
How can we help humans make decisions based on data and how to design systems that communicate dangers?
Laser Defense Part 1
Javascript
Math
Advanced HS
Use your knowledge of programming and linear functions to protect an airport from drones. Similar to an old Atari game galled missle command.
Laser Defense Part 2
Advanced HS
Math
Javascript
Trigonometry
Use your knowledge of programming, linear functions and trigonometry to protect an airport from drones. Similar to an old Atari game called missile command
Lunar Descent
Advanced HS
Physics
Javascript
Trigonometry
If you have finished tinkering with the Planetoids lab you can continue with this lab where we will now add gravity to the game! You have a little ship that you must fly…
Magnetic Force
Advanced HS
Physics
Electromagnetism
Javascript
You may recall the last programming exercise that involved a particle being accelerated through two charged plates. In this exercise we will add a magnetic field to the…
Mathematical Flower Activity
Advanced HS
Math
Javascript
Trigonometry
Let’s make our own flowers using mathematical functions and polar coordinates
Move the Blob
Middle School
Intro HS
Physical Science
Javascript
On the internet there are some fun games where you control a circle-looking-thing that you can move around and interact (and potentially destroy or absorb!) other…
Night Sky Simulator
Advanced HS
Astronomy
Data Science
Spreadsheets
Javascript
Use some basic facts and equations about stars to randomly generate a realistic-looking starfield
Object Tracker
Intro HS
Advanced HS
Math
Physics
Physical Science
Data Science
Spreadsheets
Javascript
Now you can record your own direct measurement videos and analyze them with p5.js.
Orbital Motion: Eccentricity
Advanced HS
Astronomy
Physics
Javascript
Learn how to measure the eccentricity of an orbit from a gravity simulation
Orbital Motion: Kepler’s Second Law
Advanced HS
Intro HS
Physics
Astronomy
Trigonometry
This activity involves taking the code at the end of the Slingshot with Gravity exercise and doing some experiments with that code to learn more about the special properties…
Ozone layer recovery (Part 1)
Atmospheric Science
Environmental Science
Sustainability
Data Science
Spreadsheets
Is the Ozone layer recovering? Let’s look at the data to find out!
Ozone layer recovery (Part 2)
Atmospheric Science
Environmental Science
Sustainability
Data Science
Spreadsheets
Let’s look at the Ozone data from the NASA Earth System Data Explorer
Ozone layer recovery (Part 3)
Atmospheric Science
Environmental Science
Sustainability
Data Science
Spreadsheets
Let’s talk about what happened in 1987 in Montreal and why it matters for the Ozone layer
Particle Accelerator
Middle School
Intro HS
Physical Science
Physics
Electromagnetism
Javascript
In this exercise we will make a simulation of a charged particle being accelerated between two plates.
Particle Accelerator with Potential
Middle School
Intro HS
Physical Science
Physics
Electromagnetism
Javascript
After completing Particle Accelerator, check out this activity where we consider what happens if the “Electric Potential” is kept the same even as we change the Electric…
Pi Day Part 1
Javascript
Math
Geometry
Middle School
Intro HS
Pi day
Calculate the digits of pi with a random number generator and some code!
Pi Day Part 2
Advanced HS
Math
Trigonometry
Precalculus
Javascript
Pi day
If you completed the Pi day activity and were surprised at how long it took to calculate the digits of π there is good news! There is a better way to calculate the digits of…
Pi Day in Parallel
Advanced HS
Math
Geometry
Computer Science
Javascript
Pi day
In an earlier activity, you were able to approximate
\(\pi\)
to two or three decimal places; however, it took quite a while for the computer to get to that level of precision.
Planetoids
Advanced HS
Physics
Javascript
Trigonometry
This lab will guide you through coding up a web-based implementation of the classic video game asteroids.
Planetoids with Momentum
Physics
Advanced HS
Javascript
In a typical college physics course you will at some point encounter the idea of conservation of momentum. Momentum conservation is very important! In situations where two…
Planetoids with Torque
Advanced HS
Physics
Javascript
Trigonometry
In this lab we will make the planetoids game more realistic by allowing the space craft to spin around as it would if it were really traveling in space. So in addition to a…
Planetoids with a Spring
Advanced HS
Intro HS
Physical Science
Javascript
Think back to the momentum exercise. The little ship can collide with a “blob” and stick to it. Now imagine that this blob is attached to a spring. Wouldn’t it be…
Pong
Middle School
Intro HS
Physical Science
Physics
Javascript
In the classic game of Pong, there is a little ball that bounces around off various walls and objects. Importantly, the ball changes direction when it bounces but it never…
Project Mercury Part 1
Middle School
Intro HS
Physical Science
Physics
Astronomy
Space
Hidden Figures
Javascript
Mathematician Katherine Johnson is famous for calculating trajectories of America’s first manned space missions for Project Mercury as depicted in the movie Hidden Figures.
Project Mercury Part 2
Advanced HS
Physics
Astronomy
Space
Precalculus
Trigonometry
Hidden Figures
Javascript
Mathematician Katherine Johnson is famous for calculating trajectories of America’s first manned space missions for Project Mercury as depicted in the movie Hidden Figures.
QR codes vs. Barcodes
All Ages
Computer Science
Which contains more information: a QR code, or a barcode? Grab a ruler and find out!
RC Circuits
Javascript
Advanced HS
Physics
Electromagnetism
This programming lab is unlike the previous ones in that it involves circuits. Specifically it involves circuits with a battery, a capacitor and one or two resistors.
Repulsion Between Two Charges
Intro HS
Advanced HS
Physics
Electromagnetism
Javascript
Ever since scientists realized that the sun is powered by nuclear fusion reactions, people have been thinking about causing these reactions to occur in the laboratory in…
Slingshot With Gravity
Advanced HS
Astronomy
Physics
Javascript
Trigonometry
Instructions for Slingshot with Gravity
Slingshot with Gravity Code Editor
Solar Cell Data Analysis
Intro HS
Data Science
Environmental Science
Sustainability
Spreadsheets
Solar cell data repository (Note: solar2.csv has 9 years of data, which is more than the others)
Solar System Model
Intro HS
Astronomy
Space
Data Science
Spreadsheets
Use a spreadsheet to design a model solar system
Sunspots
Data Science
Astronomy
Space
Spreadsheets
People have been observing the sun for centuries. Let’s look at the data and see what we can learn!
The Data Cycle
All Ages
Data Science
A key habit of scientifically-minded people is the data cycle
VAX game
All Ages
Public Health
Discrete math
Play a video game to learn about viruses and epidemics
Wave Interference
Advanced HS
Physics
Electromagnetism
Javascript
Trigonometry
This programming lab is designed to illustrate the idea of wave interference. This happens because of the principle of “superposition”. For sound waves, this 20 dollar word…
Why we love error bars!
All Ages
Data Science
Spreadsheets
Error bars are great and why we are highly confident about it!
No matching items