News for hackers. Stuff that matters.
Re:Show HN: This website moves your mouse cursor by vladvasiliu on Friday April 02, 2021 @01:26PM (#26673608)
> 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.

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.