Engineering
How it’s built and verified
An open record of how each experiment is modeled, implemented and tested. This page separates what is built from what is planned, and simulation results from real-world measurements.
Reports
Experiment reports
Each lab gets a technical report: problem statement, mathematical model, assumptions, implementation, verification tests and known limitations. A report is published when its lab is validated.
- Validated
Inertia Lab · Newton's First Law
Validated 2026-11-06 · model v1.0.0
- Validated
Force Lab · Newton's Second Law
Validated 2026-11-04 · model v1.0.0
- Validated
Action–Reaction Lab · Newton's Third Law
Validated 2026-11-05 · model v1.0.0
- Validated
Drop Lab · Terminal Speed
Validated 2026-11-06 · model v2.0.0
- In development
Momentum Lab · Momentum and Impulse
Report due with Phase 4. Not yet published.
- In development
Work Lab · Work: Force × Distance
Report due with Phase 5. Not yet published.
- In development
Driving School · Physics by Driving
Report due with Phase 4. Not yet published.
- In development
Magnet Lab · Chapter 4 · Exploring Magnets
Report due with Phase 5. Not yet published.
- In development
Measure & Move Lab · Chapter 5 · Measurement of Length and Motion
Report due with Phase 5. Not yet published.
- In development
Materials Lab · Chapter 6 · Materials Around Us
Report due with Phase 5. Not yet published.
- In development
Temperature Lab · Chapter 7 · Temperature and its Measurement
Report due with Phase 5. Not yet published.
- In development
Water Lab · Chapter 8 · A Journey through States of Water
Report due with Phase 5. Not yet published.
Roadmap
Project phases
Each phase stops for review before the next begins.
- Phase 0Done
Foundation
Homepage, experiment library, design system and engineering portfolio shell.
- Phase 1Done
Newton's First Law
Implement and validate the Inertia Lab on a shared, tested physics engine.
- Phase 2Done
Newton's Second Law
Implement and validate the Force Lab on the same engine.
- Phase 3Done
Newton's Third Law
Specify and implement the Action–Reaction Lab with a correct interacting-body force-pair model.
- Phase 4Planned
Learning features
Prediction challenges, comparison mode and graphs across the labs.
- Phase 5Planned
Notebook
Save, compare and export experiment results locally.
- Phase 6Planned
Public release
Accessibility, scientific verification, documentation, deployment and portfolio presentation.
Principles
Engineering rules for every simulation
Physics separate from pixels
The simulation engine is a plain TypeScript package with no UI code. It works in SI units; converting metres to screen coordinates happens only in the renderer.
Fixed time step
The simulation advances in fixed increments, independent of display refresh rate, so a 60 Hz and a 120 Hz screen produce the same trajectory.
Checked against exact answers
Every model is tested against analytical solutions, including zero-force, negative-force and pause-and-resume cases. A lab is only marked validated when those tests pass.
Stated assumptions
Each experiment lists what it ignores, such as friction or air resistance, and where its simplified model stops matching the real world.
Design system
Quantity conventions
Each physical quantity keeps the same color, symbol and SI unit in every lab, so a learner recognizes it anywhere. The symbol and unit always appear with the color.
- xPositionm
- vVelocitym/s
- aAccelerationm/s²
- FNet forceN
- mMasskg
- tTimes
Technology
Technology
In use now Implemented
- Next.js (App Router)
- HTML Canvas simulation rendering
- Recharts for motion graphs
- React
- TypeScript, strict mode
- Tailwind CSS
- Vitest
- pnpm workspaces
Planned Planned
- Automated browser (end-to-end) tests with Playwright
- IndexedDB notebook storage (Phase 5)
- FastAPI, PostgreSQL and Pytest, only once accounts or hardware data need a backend
Changelog
Engineering changelog
· v0.3.1
Playful redesign
- A new look for every lab: lit stage, bigger carts with rolling wheels, glowing arrows, speedometers and strobe trails.
- Fun mode: carts with faces and physics-true jokes, tap-to-honk, and a Force Lab pusher with rocket skates.
- Sound effects, missions with ★★★, slow motion and exact replay, and shareable experiment cards and links.
- No physics changed; replay and slow motion are tested to leave every result identical.
· v0.9.0
Rocket launch and the first mission
- A new experiment for Newton's second law: three toy rockets with small, medium and big motors (the small one can't even lift off).
- The first mission, ✈️ Stop the plane: an airliner has just landed; use reverse thrust and brakes to stop at the taxiway exit, with cockpit call-outs. Light or heavy plane, dry or wet runway.
- The engine now handles things going up and down, landing exactly when they reach the ground.
· v0.8.0
Force Lab levels and a realism pass
- New levels for Newton's second law: two quick experiments (the same kick on three balls, and 1, 2 or 3 people pushing a car), push and pull back a supermarket trolley to stop it in its bay, and a drag race with start lights where the lorry has the most force but still loses.
- New experiments for Newton's third law: two skaters pushing apart, jumping off a boat, and a balloon rocket, with the two equal pushes always shown as arrows. A Next level button appears when you pass a level.
- The crash test now shows the passenger inside the car and a real crash; the space level became docking with the space station; curling is played on a real sheet.
· v0.7.0
Inertia Lab: five levels
- New levels for Newton's first law: the tablecloth trick, a crash test with a seatbelt, curling on ice, and a supply ship that coasts to dock with the space station.
- A new tested engine for sliding with friction, exact at every moment something stops or crashes.
- The Skydive plane now looks like a real plane, and the Drop Lab explains terminal speed second by second.
· v0.6.1
Drop Lab: a cleaner game screen and a cockpit voice
- The game comes first: one level button, one ⚙️ menu, and only the buttons you need at each moment.
- A safe landing speed gauge in km/h on the rocket levels.
- A cockpit voice calls out heights, top speed and warnings like "Sink rate! Fire rockets!".
· v0.6.0
Drop Lab: all nine levels
- Nine levels on one tested engine: Skydive, Egg drop, Drop anything, Titan, Moon, Mars, Wind, Space jump and a Sandbox for engineers.
- Rockets with fuel, wind zones and air that thins with height, all checked against exact answers or a very fine reference run.
- Each level has its own world, buttons, goal, landing card and best score.
· v0.5.0
Play, Learn or Engineer, and a level map
- Every lab has a switch: 🎮 Play for fun with no numbers, 📚 Learn with numbers and graphs, 🛠️ Engineer with every number and how the model is checked.
- A new 🛠️ Engineer tab shows the model, its version, the tests that check it, and design challenges.
- The Drop Lab shows its nine levels; Skydive is ready, the rest are coming.
· v0.4.0
Drop Lab: air resistance and terminal speed
- Drop Lab: a skydiver jumps from a plane at 1000 m after a 3-2-1 countdown, reaches top speed, and opens the parachute in time for a soft landing.
- physics-core: a fall model with air resistance that grows with speed squared, solved exactly step by step, with an exact touchdown speed.
- The parachute opens over 2.5 s at the step the learner chooses, and replays reproduce the jump exactly.
- Wind that roars with speed, a FWOOMP when the parachute opens, a cartoon BONK for hard landings and applause for soft ones.
- A "What happened?" card after every landing: perfect, the long float, tiny chute, too late or no parachute, each with the reason and a hint.
- Hold to dive head-down for more speed, spread out to slow down, fly through two speed gates, and beat your best score.
- Every lab now starts with a one-sentence definition in simple English.
- Three missions, four prediction challenges, speed and force graphs, and 33 new engine tests.
· v0.3.0
Phase 3: Action–Reaction Lab (Newton's Third Law)
- Action–Reaction Lab: two carts push off each other, with equal-and-opposite force arrows, per-cart and total momentum, force/velocity/momentum graphs and four prediction challenges.
- physics-core: a two-body force-pair model that stores one force, so unequal forces cannot be represented. It reuses the one-body update; no new integration code.
- The run lifecycle became one generic fixed-step runner shared by every lab. All earlier tests pass unchanged.
- Scientific spec, eleven engine test cases (equal forces exactly, momentum conserved, analytical positions) and lab tests.
- Third engineering report published; momentum added to the quantity colours.
· v0.2.0
Phase 2: Force Lab (Newton's Second Law)
- Force Lab: mass and net-force controls, force arrow, live measurements, graphs and four prediction challenges.
- Runs on the same physics engine as the Inertia Lab, with no new integration code.
- Lab UI generalised into a shared 1-D motion lab; each lab is now a small definition.
- Master spec test cases 1–6 checked through the engine and through the lab.
- Second engineering report published.
· v0.1.0
Phase 1: Inertia Lab (Newton's First Law)
- Inertia Lab: canvas simulation, controls, live measurements, position/velocity/acceleration graphs, CSV export.
- Four prediction challenges, each with an explanation and a lab setup to test it.
- physics-core: a 1-D motion engine with a fixed 10 ms time step, shared with the future Force Lab.
- Specification tests A–F and the six Second Law cases pass against analytical solutions.
- First engineering report published.
· v0.0.1
Phase 0: Foundation
- pnpm monorepo with a Next.js (App Router) web app in TypeScript strict mode.
- Design system: dark theme tokens, a fixed color, symbol and unit for each physical quantity, base components.
- Homepage, experiment library and engineering portfolio shell.
- Experiment catalog package with unit tests.
- Architecture overview and decision records in docs/.
Builder
About the builder
SimuLabs is built by a professional software engineer who is learning physics from first principles, working through Conceptual Physics by Paul G. Hewitt. The site is a record of that study: each experiment is added only after its idea is understood, specified and tested.
The goal is not to show complete knowledge of physics. It is to show a growing ability to learn, model, test, measure and build systems based on physical principles, moving later toward scientific instrumentation and robotics.
Engineering background, public projects and research notes will be added here by the builder.