Physics Playground
Ragdoll Drop
1 finger rotate · 2 fingers pinch zoom + pan
Models
Pick a model, then a lab to begin.

Physics Playground

A pocket physics lab. Three interactive Matter.js demos with full multi-touch gestures, plus the playground's practice drills to read on the go.

Gestures

  • Tap — spawn a ball (or select a body)
  • Double-tap — shockwave blast
  • Press & hold — grab a body, release to fling it
  • Drag — pull bodies around on a spring
  • Pinch — zoom the camera
  • Two-finger drag — pan the camera
  • Swipe ←/→ — switch demo scenes

Open-source stack

  • matter-js — 2D physics engine (MIT)
  • hammer.js — touch gesture recognition (MIT)
  • marked — markdown rendering (MIT)

Vendored dist files + licenses live in vendor/. Works offline once loaded (service worker).

GitHub repo →