I’m trying to implement a ’Distorted Button Effects with SVG Filters’ that I found on codrops. Feels like I’m almost all the way, but something isn’t entirely right. I get the function to work, but it’s static instead of animated.
The CSS filter (and the SVG) seems to be working. So I guess the problem most be in the javascript. I guess that the ‘bt.addEventListener’ isn’t running as it should, but I don’t really now why. Does anyone have any ideas?