KineticJS plugin to create a layer, which can be pinched and panned using multitouch. Works also on desktop with drag&drop and mousewheel.
- Include file after kinetic.js in HTML
Example:
var layer = new Kinetic.Plugins.PinchLayer({
container: stage,
width: image.getWidth(),
height: image.getHeight()
});
See also the example folder for a working example.