control-user-cursor
control-user-cursor copied to clipboard
Small experiment to 'control' the user cursor with JavaScript and CSS.
Control User Cursor
Small experiment to 'control' the user cursor with JavaScript and CSS.
How it works?
I make the user cursor invisible, and then paint my own cursor with JS! The
:hover styles are also fake.
Most of the math is here https://github.com/javierbyte/control-user-cursor/blob/master/index.js#L134