ZIM JavaScript Framework

Canvas Components, Controls and more!

Multi-touch Gestures – Pan, Pinch, Rotate with ZIM for the #HTML #Canvas with #ZIMjs powered by #CreateJS

promo

ZIM 5.4.0 has launched featuring zim.gesture() for multitouch gestures of pan (position), pinch (scale) and rotate (rotation) on touch screen devices and screens.  See an example and read the code here: http://zimjs.com/gesture/

Also see the Bubbling Video that demonstrates the following code:

var rect = new zim.Rectangle(300, 300, frame.blue)
   .centerReg(stage)
   .gesture({
       slide:true,
       rect:new createjs.Rectangle(0,0,stageW,stageH),
       minScale:.5,
       maxScale:2,
       snapRotate:2
   });

Try it out for your next app on Android or iOS, etc.

All the best,

ZIM
http://zimjs.com

 

2 comments on “Multi-touch Gestures – Pan, Pinch, Rotate with ZIM for the #HTML #Canvas with #ZIMjs powered by #CreateJS

  1. Sitara Singh
    September 13, 2019

    I want to integrate this in react app. But pan, zoom , pinch etc not working.

    Like

    • Dan Zen
      October 2, 2019

      Are other ZIM functions working in your react app? Hey… sorry for the delay… we just got this message. Please join us at https://zimjs.com/slack and we can discuss further. Looking forward to seeing you there.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Information

This entry was posted on August 7, 2017 by in interactive media, launch, mobile, tutorials and tagged , , , , , , , , , , , , .

Categories

%d bloggers like this: