stephenscaff / react-animated-cursor

An animated custom cursor React component.
ISC License
273 stars 28 forks source link

Trailing effect with colors? #46

Open w3bdesign opened 10 months ago

w3bdesign commented 10 months ago

I recently came across this on Github, maybe it could be an idea to implement something similar?

https://raw.githubusercontent.com/dlarroder/dalelarroder/main/components/renderCanvas.js

@stephenscaff

stephenscaff commented 9 months ago

Thanks for the idea.

That example uses Canvas yeah? Suppose that's fundamentally different approach than just rocking a div.

Though, neat idea, i can see it. Wonder if we could use svg filters... or maybe a hue animation (kinda like this... but more performant)?

w3bdesign commented 9 months ago

Just for reference, here is the effect in action on the website:

https://www.dalelarroder.com