Re:Show HN: This website moves your mouse cursor
by tyingq on Friday April 02, 2021 @02:23PM
(#26674231)
Pointer lock does that, though I'm not sure what all browsers support it. Chrome/Desktop does:
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.
Re:Show HN: This website moves your mouse cursor
by baobabKoodaa on Friday April 02, 2021 @03:12PM
(#26674869)
Thanks for the feedback! The behavior around the edges should be improved now.
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.