Documentation for CMol
Rotating, zooming, panning etc.
It is possible to perform gestures on the molecule display once it has loaded. They are summarised here.
1. Rotation: place one finger on the molecule and move it in any direction. This will move the molecule around its centre of mass about the x- and y-axes.
2. Two-finger rotation: place two fingers on the molecule and move them around the same imaginary circle. This will rotate the molecule about the z-axis around its centre of mass.
3. Zooming: place two fingers on the molecule and move them away from each other. This will zoom into the molecule. Move them closer together to zoom out.
4. Panning: place two fingers on the molecule and move them in tandem. This will move the molecule around the screen without changing its orientation or size.
Note that these two-finger gestures are independent and can be performed all simultaneously.