A simple demo to show usage of the Pointer Lock API
JavaScript HTML CSS
Latest commit 6289797 Jun 23, 2016 @chrisdavidmills chrisdavidmills committed on GitHub Merge pull request #2 from upsuper/fix-width-height
Use canvas.width / height instead

README.md

pointer-lock-demo

A simple demo to show usage of the Pointer Lock API. You can find more explanation of how the demo works at the main MDN Pointer Lock API page.