Hi all,
I'm struggling with doing advanced zoom on the canvas which is inside a container.
I've read this article from Matthias Berth :
http://matthiasberth.com/tech/stable-zoom-and-pan-in-paperjs, and would like to do something similar to the Stable Zoom section, but in his example there is no container, while I would like to do the same, but the canvas size would also change inside the container.
When zooming, the part of the circle under the mouse position should remain in the same position, but is is not doing that.
My fiddle is:
If someone could help me out, that would be really appreciated.
Thanks,
Marta