tholman / cursor-effects

Old-school cursor effects for your browser built with modern JavaScript
https://tholman.com/cursor-effects
3.33k stars 245 forks source link

Linux cursor does not match the default image #23

Open ajmeese7 opened 2 years ago

ajmeese7 commented 2 years ago

I'm not sure if this is something that is possible to fix, but on different desktop environments the cursor looks different, and thus the static data string in the ghost and trailing cursors does not match.

different default cursor example

I haven't heard of any API or similar that can detect what the user's cursor looks like and duplicate into a datastring that you can use, but I wanted to open this in case anybody out there has and could recommend it.

olivertzeng commented 2 years ago

Macos too

mengkunsoft commented 1 year ago

A similar effect can be achieved by forcing the mouse shape in the page through css property cursor

body {
    cursor: url(...);
}