Inspiration

In AP Physics 1 and now in AP Physics C: Mechanics, my favorite part of a lab has been figuring out what to do with the numbers after the experiment. You change one variable, run another trial, and decide how to graph the measurements so they tell you something. But a single projectile launcher can cost more than $100. I built Europa Lab so students could work through that same process in a browser, even if they don’t have access to the equipment.

What it does

Europa Lab is an interactive 3D lab for projectile motion. Students choose a launcher, change a setting, and collect measurements across several trials. They can write their own expressions for each axis, plot the points by hand, and use a line of best fit to calculate an unknown.

Take gravity as an example. If the marble launches and lands at the same height, launch speed stays fixed, and air resistance is ignored, a graph of range versus sin(2θ) has a slope of v₀²/g. Students can use that slope to estimate gravity. In Teacher Mode, teachers can share a preset investigation, choose which variable students change and which quantity they solve for, and use a reference equation to check their work.

In Experimental mode, students can also pause mid-flight to inspect the airflow around the marble.

How I built it

I built the app in TypeScript, used Three.js to render the classroom, and modeled several launchers in Blender. I connected the projectile simulation to a graph editor that evaluates student-written expressions against recorded trials. I also prototyped a Gemini-assisted importer that can help match a photo to an existing launcher preset or draft an approximate 3D model.

Challenges I ran into

The first version was a 2D simulation. When I moved it into a 3D classroom, I had to rethink how students would inspect the equipment. One particularly frustrating bug made the camera shake when I adjusted the launch angle or speed. I worked on separating camera movement from changes to the experiment so students could keep the same view while comparing trials.

The graph took just as much iteration. Early versions were small, zoomed too aggressively, and made the line of best fit hard to select when it passed behind a point. I made the graph larger, tuned the zoom, and fixed the line selection. I also replaced preset axes with an expression editor so students could type something like sin(2θ) and test their own approach to linearizing the data.

I also had to decide how much of the experiment the app should do for students. At first, it plotted everything and displayed the values they were supposed to calculate. I made automatic plotting optional and gave teachers a way to hide the assigned unknown. Then I added ready-to-use investigations with a variable for students to change and a reference equation for teachers to check the resulting graphs.

Making the launchers look right took repeated passes in Blender and in the browser. Parts that seemed fine from the front sometimes overlapped or appeared to float when I rotated the camera. Photo import added another challenge. A single image leaves details like depth and mounting points ambiguous, and early reconstructions sometimes looked like a photo pasted onto a wooden frame. I worked on matching known equipment to existing presets and using approximate reconstruction for unfamiliar launchers.

What I’m proud of

I’m proud that a student can go from launching a marble to explaining what the slope of their own graph means. That’s the part of a physics lab I most wanted to bring into the browser, and it’s the part teachers can now turn into a shareable assignment.

What I learned

Building the graph editor taught me that small interface choices change what students practice. If the app chooses the axes, the student practices reading a graph. If the student chooses the axes, they also have to connect the equation to the measurements and explain why the slope tells them anything.

What’s next for Europa Lab

I want to make the stopwatch, ruler, and photogates usable so students can decide how to take measurements as well as how to analyze them. I’d also like to bring that workflow to collisions and rotational motion.

I want to test the Gemini-assisted importer on a wider range of launcher photos so it can match known equipment more reliably and better approximate unfamiliar models.

Share this project:

Updates

Submission history