Skip to content
Projects
⚖️

Physics Lab

Live

Middle and high school physics simulations: predict the result first, measure it in SI units, compare it with the theory.

TypeScriptMatter.jsViteVitest
Physics Lab key art

Overview

Change the height, angle, speed, slope or magnetic field, pick what you think will happen, then run the experiment and compare the measurement with the theory. There are 17 experiments across gravity, friction, water and wind, electricity and magnetism, and collisions.

Every experiment has a plain explanation plus "More: equations, assumptions, limits", so you can see what the simulation simplifies. The interface is in Korean.

Features

  • 17 experiments: free fall, projectiles, friction on a slope, buoyancy, Coulomb force, circular motion in a magnetic field, Newton's cradle and more
  • Predict, then test: choose the outcome first and compare it with the measurement
  • Measure mode: mass, speed, acceleration, momentum and energy in SI units, with time graphs and CSV
  • Gravity (Earth, Moon, Jupiter, zero-g), air resistance and time-speed settings
  • Sandbox tools: balls, boxes, dominoes, springs, magnets, wind and more
  • Share an experiment with its current conditions as a link

Tech Stack

  • Vite + TypeScript + Matter.js
  • Theoretical curves (dashed) compared with measured values
  • Vitest tests that check simulations against the equations