Start a project →

No. 002 — Lab

Drop

What
Balls fall into a box, bounce off its walls and off each other, and pile up. Click to drop the next one.
How
We wrote the physics by hand: gravity, bouncing walls and a stiff spring between balls that touch. No physics library, at most 120 balls, and the oldest goes first.
Stack
  • Canvas 2D
  • TypeScript