Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javierbyte/control-user-cursor
Small experiment to 'control' the user cursor with JavaScript and CSS.
https://github.com/javierbyte/control-user-cursor
cursor experiment javascript js ui ux
Last synced: about 1 month ago
JSON representation
Small experiment to 'control' the user cursor with JavaScript and CSS.
- Host: GitHub
- URL: https://github.com/javierbyte/control-user-cursor
- Owner: javierbyte
- License: bsd-3-clause
- Created: 2017-01-17T05:09:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T14:55:50.000Z (over 1 year ago)
- Last Synced: 2024-03-03T08:33:54.959Z (9 months ago)
- Topics: cursor, experiment, javascript, js, ui, ux
- Language: JavaScript
- Homepage: https://javier.xyz/control-user-cursor
- Size: 346 KB
- Stars: 1,071
- Watchers: 19
- Forks: 52
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - javierbyte/control-user-cursor - Small experiment to 'control' the user cursor with JavaScript and CSS. (JavaScript)
- awesome - javierbyte/control-user-cursor - Small experiment to 'control' the user cursor with JavaScript and CSS. (JavaScript)
README
# Control User Cursor
Small experiment to 'control' the user cursor with JavaScript and CSS.
[![control-user-cursor](docs-assets/thumbnail.jpg)](https://javier.xyz/control-user-cursor/)
## 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