The Pointer Lock API recently landed in Chrome Canary and the Dev channel all rejoice! Wait what? You haven’t heard of the Pointer Lock API? Well in a nutshell the Pointer Lock API makes it possible to write proper first-person shooters for the web
The Chrome implementation lets a full-screen webpage ask your permission to capture the mouse pointer so that you can’t move it outside the page This lets web developers write 3D games and applications without having to worry about the mouse cursor moving outside of the page When the pointer is locked the…..


