3 ms·
> Note to the author: the illusion would be even better if you used the user-agent to render a system-accurate mouse cursor ;) (on macOS the real cursor is blac
by vladvasiliu 6y ago
> Note to the author: the illusion would be even better if you used the user-agent to render a system-accurate mouse cursor ;) (on macOS the real cursor is black and the fake one is white)
I've already seen sites that change the cursor's appearance, so I wasn't particularly "shocked" by that (I'm on a Mac).
However, what should improve the illusion would be to not move the cursor outside of the view area.
- tyingq 6y agoPointer lock does that, though I'm not sure what all browsers support it. Chrome/Desktop does: https://mdn.github.io/dom-examples/pointer-lock/ https://mdn.github.io/dom-examples/pointer-lock/ It's a bit odd to me that it doesn't ask for any kind of permission on Chrome, just that a user click initiates it. It does briefly pop a hint that "<esc>" will release the mouse.
- baobabKoodaa 6y agoThanks for the feedback! The behavior around the edges should be improved now.