I am experimenting with a nice and slick js library called interact.js (http://interactjs.io). The library has some really nice features like “inertia”, pinch to zoom, pinch-rotate etc. etc. Actually everything that is needed if you are designing for mobile devices. Implementing this with inner-html is a no brainer – but as always, would be amazing if this could be used by simply assigning an ID and a class to a hype element to make it interactive.
I dropped a small demo using the lib in inner html so that you can play around a bit if you like…interact.zip (36.8 KB)
I suppose that this could be tricky because of the way how hype is creating the div-structure (but maybe I am wrong). I found here in the forums a demo that is using “kinetic” – a JQuery plugin that is offering inertia and I also implemented another plugin that is more mature than kinetic – “pep” (http://pep.briangonzalez.org) – but having something like interact.js working on native hype elements would be really, really nice…
So any idea anyone?