ZIM js 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/code/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

 

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 , , , , , , , , , , , , .
%d bloggers like this: