I'm curious about how to achieve an effect similar to this: https://www.davidwilliambaum.com/
I know they used the canvas element. And I found forum threads/codepens where parts of the effect are achieved without canvas.
Is there a GSAP plugin for the zoom effect of the images which depends on the mouse position?
Hey DenFin and welcome to the GreenSock forums!
No, nothing that specific. But GSAP can animate the properties for you most definitely
How this is likely done:
Layout a bunch of images scaled down in a <canvas>
Calculate the distance from the mouse to the center of each image.
If that distance is within a certain range, scale up (towards its intrinsic size) that image based on the distance to it.
Determine which image is the closes