This demo uses JavaScript generated from the Box2D C++ source code by the emscripten compiler.
(Keyboard: R, P, S)
Zoom
(Keyboard: X, Z)
Hold down Shift while moving the mouse to pan (Keyboard: arrow keys)
You need to click on the canvas before using the keyboard.