NEWTON LAB v1.0 · single-file · works with no internet
mechanics · kinematics · dynamics · statics · machines
build an experiment, then check it against the formula

Welcome to NEWTON LAB — build real 3D physics experiments, then check them against the formulas.

Newton Lab is a virtual mechanics bench. Assemble an experiment from bricks, balls, wheels, slopes, springs, ropes, rods and motors; set the mass, friction and elasticity of every part; then press Run and watch the laws of physics take over.

The point of difference is the Theory panel: while the 3D world runs, every experiment shows the measured quantity beside the value the classic formula predicts, and the percentage difference between them. Students see the bridge between the real world and its mathematical model — and they see exactly where the model stops working.

A real physics engine

Rigid bodies, friction, restitution, contacts and stacking, solved with sequential impulses at 240 Hz — not an animation.

Constraints & machines

Pin joints, rods, ropes, springs, pulleys and motorised hinges let you build levers, Atwood machines, pendulums and carts.

Measure everything

Live vectors and labels in 3D, per-body read-outs, and diagrams of any quantity against time with the analytic curve overlaid.

Marked questions

Every experiment carries VCE-style questions that mark themselves and explain the working.

Export your data

Save an experiment to a .newton file, export the diagram as CSV or PNG, snapshot the 3D view.

Completely offline

One HTML file. No install, no account, no internet. Drop it on a USB stick or a school share and it just runs.

KinematicsDynamicsStatics Energy & workMomentum & collisions OscillationsSimple machinesFriction TorqueAir resistance
Newton Lab · an offline 3D physics laboratory · built for the classroom
Experiments
t = 0.000 s
KE/PE
x 0.00 y 0.00 m
Variables
Constraints in this experiment

Measured in the 3D world, beside the value the classic formula predicts. Green means the model and the world agree.

QuantityMeasuredFormulaDiff
Questions
1.00×
Ready.

Body

Curves

System totals

Overlay

Data is captured at 60 Hz while the simulation runs. Reset the experiment to clear it.

Hover the graph to read values off the curves.

Newton Lab — Documentation

Everything you need to run this in a classroom. No install, no login, no internet.

1. The four screens

ScreenWhat it is for
ExperimentsThe library. Twenty ready-made benches, grouped by topic. Click a card to open it.
LaboratoryThe 3D bench itself: object toolbar on the left, the world in the middle, and the Setup / Properties / Theory / Questions dock on the right.
DiagramsPlot any recorded quantity against time. Tick several curves to compare them, and leave the dashed theoretical curve on to see how well the model fits.
DocumentationThis page.

2. Driving the 3D view

Every camera move can be done with the mouse or from the keyboard — use whichever suits the room.

ActionMouseKeyboard
OrbitLeft-drag on empty space
PanRight-drag (or middle-drag)Shift + arrow keys
ZoomMouse wheel+ and
Reset the cameraReset view button0
Move fasterhold Alt with any of the above
Standard viewsFront / 3D / Side / Top buttons, top-left of the viewport
Select a bodyLeft-click it with the Select tool
Drag a bodyLeft-click and drag it. Paused → it teleports. Running → you pull it with a spring.
Focus on selectionF

Left-drag only orbits when it starts on empty space — starting on a body moves the body, so the two never fight each other.

3. Building your own experiment

  1. Open the Empty Bench experiment (bottom of the library).
  2. Pick a body from the toolbar — brick, ball, wheel, plank, slope or fixed block — and click in the scene to drop it in.
  3. Pick a constraint — pin, rod, rope, spring or motorised hinge — then click body A, then body B. Click empty space as the second click to anchor to the world instead.
  4. Select any body and edit its mass, material, friction, elasticity, size, velocity, applied force or torque in Properties.
  5. Press Run. Save the whole bench to a .newton file from the menu.

4. Materials

Choosing a material sets density (and therefore mass), friction and restitution together — the same trade-offs a real technician makes when choosing what to build a rig out of.

MaterialDensity kg/m³Friction μRestitution e
Wood6500.400.30
Steel78500.300.45
Rubber12000.950.85
Plastic10500.350.55
Ice9170.040.10
Lead113400.450.10
Concrete24000.650.15

5. Reading the Theory panel

Each row shows a measured quantity from the running 3D world, the value the textbook formula predicts, and the difference. Green (<2 %) means the model and the world agree. Amber and red mean something in the model is missing — friction, air resistance, rotational inertia, or an approximation such as sinθ ≈ θ. That disagreement is the lesson, not a bug: ask students which assumption has just broken.

6. Free-body diagrams

Select any body and Newton Lab draws its free-body diagram — every force acting on it, drawn separately and to scale, with the numbers listed in the Properties panel.

ArrowForceWhere it comes from
redWeight, mgGravity. Always present, always straight down.
blueNormal, NThe surface pushing back, at right angles to it.
orangeFriction, fAlong the surface, opposing sliding.
purpleTension, TA rope, rod, spring or pulley pulling.
cyanAir drag, DOnly when Air resistance is switched on.
blackResultant, ΣF = maThe sum of all the others. This is the only one that accelerates the body.

The one thing to take away: weight is not the resultant force. Select a block resting on the ground — the red weight arrow and the blue normal arrow are the same length and point opposite ways, and the black resultant vanishes. No resultant force, no acceleration. That is Newton's first law, and it is the single most common thing to get wrong in an exam.

These forces are not decorative. They are read straight out of the solver — the contact impulses and the joint impulses it actually applied — so the arrows on screen add up to ma exactly.

7. Keyboard

Space run / pause   R reset the experiment   1 select tool   X delete tool   F focus on selection   Del delete selected body

orbit   Shift+arrows pan   + / zoom   0 reset the camera   Alt move faster

7. How the physics works

Bodies are rigid, motion is solved in the vertical x–y plane and drawn as extruded 3D solids. Each frame the engine integrates forces, finds contacts (circle–circle, circle–polygon and polygon–polygon with SAT clipping), then runs twelve iterations of a sequential-impulse solver with warm starting for contacts, joints and friction. The time step is fixed at 1/240 s, so results are repeatable.

Gravity, air density, per-body material, applied force and applied torque are all yours to change. Air drag uses F = ½ρCdAv² against the body's frontal area.

8. Classroom ideas

  • Predict–observe–explain. Give students the parameters, have them compute the answer first, then run the bench and check the Theory panel.
  • Break the model. Push the pendulum past 40°, or turn on air resistance during free fall, and ask which assumption failed.
  • Data analysis. Export CSV from the Diagrams tab and graph it in a spreadsheet; gradient of v–t is the acceleration.
  • Design task. Give a target — "lift 10 kg with a 3 kg effort" — and let students build the machine on the Empty Bench.
Newton Lab · offline 3D physics laboratory · one file, no dependencies