Alex Dixon

Welcome to my programming blog and portfolio, I have worked in gamedev for over 10 years and I am currently principal programmer at Flavourworks. I enjoy shuffling bytes and swizzling vectors...

WebGL Demos

powered by pmtech.

These demos are from my game engine pmtech they are built using WebAssembly and WebGL with the help of emscripten. You can find out more information about the example projects on the pmtech wiki.

For web browsers Chrome, Firefox and Microsoft Edge are all supported. Support on Safari is available if you enable the experimental feature “WebGL 2.0”. Mobile browser support may be more limited.

These samples are currently work in progress with some missing features compared to the native pmtech implementations, the reference images were generated on macOS/Metal.


  • [CTRL or CMD + X] - Toggle imgui “dev_ui”.
  • [Alt or Option + Left Mouse Drag] - Rotate camera.
  • [CTRL or CMD + Left Mouse Drag] - Pans camera (macOS).
  • [CTRL or CMD + Middle Mouse Drag] - Pans camera (Windows / Linux).
  • [Mouse Wheel] - Zoom camera.
  • [F] - Focus camera on selected object.
  • [Left Click] - Select items, or grab physics objects.