tholman / cursor-effects

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

change color without destroying first? #57

Open meewgumi opened 1 year ago

meewgumi commented 1 year ago

is there an option for followingDotCursor({ color: ["#323232a6"] }) that allows you to set a new hex code without destroying & creating a new cursor first?

tholman commented 1 year ago

There is not. Feel free to create one & add to the documentation, will happily merge it in!

Would call the function updateProps or something along that lines, you can expose it the same way destroy is exposed

5093912 commented 1 year ago

cool