Hey guys
This is a big ask, but it might be a challenge for someone wanting to flex their Codea muscles.
I want to make a pinch and zoom class that somewhat resembles Safari on the iPad
So, in a nutshell, I want the class to work like this:
-
the drawing zooms based on where you pinch. If you pinch in the top left corner, it zooms in on that area.
-
you can move the drawing around, but there’s a limit to how far you can drag it
-
when you zoom far enough back out, the drawing springs back to its original shape
Herwig’s Zoom Library is a great starting point, but I just can’t tweak it to get the results I want.
http://twolivesleft.com/Codea/Talk/discussion/550/zoom-library/p1
Any ideas would be greatly appreciated.
Thanks