An example of a plane with a ripple effect vertex shader using curtains.js lib.
Amazing pen and library! Is there a way to add multiple images on a page with this effect? Thank you!
yes of course you can!
Most simple way would be by mixing this pen and that one: https://codepen.io/martinlaxenaire/pen/LrovPy
You'd just have to change the planes definition, send your mouse coords to each plane and use this pen shaders.
Thank you so much for the quick response @ martinlaxenaire! I think I am running into some trouble with my mouse coords. Do you think you could offer some advice? My pen is below:
Anyway, here's a working fork of your pen: https://codepen.io/martinlaxenaire/pen/jeZyZM
@martinlaxenaire you are a rockstar! Thank you for creating this library and thank you for your help. Much appreciated!
Need to know how to enable it? Go here.