robin-dela / hover-effect

Javascript library to draw and animate images on hover
MIT License
1.79k stars 304 forks source link

ReferenceError: hoverEffect not defined... don't understand #66

Open IvyWF opened 11 months ago

IvyWF commented 11 months ago

Hi!

I followed this tutorial to build the distortion on hover: [https://www.youtube.com/watch?v=hTjhqxulhP8&t=387s]. But I always got this error message: ReferenceError: hoverEffect is not defined. I've installed Three.js and Gsap using npm because I used them to create other effects, so I didn't write the cdn links for them in my html file.

Could you give me some information to resolve this issue. I tried a few ways, but still got this problem.

Thank you so much for your help.

Dk-09 commented 5 months ago

Hi did you find any solution for that i am having the same issue using it with react