Learn physics by building the engine

You write the physics.
The lab brings it alive.

Implement the real algorithms — velocity, gravity, collisions, fluids — in TypeScript, and watch a live particle engine run your code. Not a video course. You build the engine, one function at a time.

↖ move your cursor through the orbits — gravity is lesson one

the loop

How a lesson works

  1. 1Read the concept

    One focused idea — the intuition, the formula, no filler.

  2. 2Write the function

    Implement the physics in real TypeScript, in a real editor.

  3. 3Watch it run

    Your code drives a live WebGL simulation, instantly.

  4. 4Pass the tests

    Assertions check your work — a coding kata for physics.