opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jmol-users@lists.sourceforge.net 18 November 2009 • 9:38PM -0500

[Jmol-users] allowGestures
by Greeves, Nick

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi Bob et al,
Swipe works on Mac 10.6.2 Safari and Firefox. It took a bit of getting used to though.
Zoom-slider I like because mouse scroll does not work on Safari (yet, the next Java update will fix this). A possible user tip is to start clicking just inside the Jmol applet and then drag down across the border to avoid turning into a rotation if you err too far from the side.

It sounds as if you need a new Mac laptop Bob, the touch trackpad is ever so clever! I think you may be able to get these for Desktops soon.
Pinch would be even better than zoom-slider for a real touch screen (Tablet).

How about a two-finder drag/swipe to the right to run an animated sequence? Like flipping through photos on an iPhone.

All the best

Nick

--

3D Organic Animations     http://www.chemtube3d.com

Tel:             +44 (0)151-794-3506 (3500 secretary)



On 18 Nov 2009, at 13:13, <jmol-users-request@list...<mailto:jmol-users-request@list...>> wrote:


Message: 5
Date: Tue, 17 Nov 2009 17:49:40 -0600
From: Robert Hanson <hansonr@stol...<mailto:hansonr@stol...>>
Subject: [Jmol-users] feedback appreciated
To: jmol-users@list...<mailto:jmol-users@list...>
Message-ID:
       <ba9c0bd60911171549t5723db22w38f76ec64ddec46e@mail...<mailto:ba9c0bd60911171549t5723db22w38f76ec64ddec46e@mail...>>
Content-Type: text/plain; charset="iso-8859-1"

Jmol users,

Jmol 11.9.9 will have a couple of mouse-related new features. One that
should be useful is

show mouse

or

show mouse [keyword]

such as

show mouse move

or

show mouse pick

These return information about what the mouse buttons do.

In addition, because underneath the surface Jmol is now completely changed
in how it handles mouse events, in the future you will be able to assign
button/key combinations to all sorts of actions. Two new actions that can be
assigned using

set allowGestures

are related to giving Jmol a "multi-touch" feel -- on certain machines being
able to use two or more fingers to direct the application. These include:

swipe -- with a finger this is a rapid movement that releases as it
terminates. With a mouse, it's a LEFT-button action for which the button is
released BEFORE the motion stops. (Takes some getting used to.) This gesture
produces a sort of Google-Earth action that starts the model spinning at a
speed that depends upon the speed of the swipe.

zoom-slider -- with set allowGestures TRUE, you can now just treat the
screen as a touchpad and scroll through zooms just be doing a vertical
LEFT-drag within a few percent of the right side of the applet window.

Give these a try at
http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm and tell me what
you think. More ideas for cool gestures? (I'm working on "pinch" and
"stretch" to zoom out/in, like an iPod, but that requires a multi-touch
screen, which I don't have yet.)

Bob


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.