Difference between revisions of "PriMol"
m |
m |
||
Line 12: | Line 12: | ||
* [https://github.com/jmendeth/PyOpenNI PyOpenNI] (python bindings for OpenNI) | * [https://github.com/jmendeth/PyOpenNI PyOpenNI] (python bindings for OpenNI) | ||
* [http://www.pymol.org/ pymol] (molecular viewer with python scripting) | * [http://www.pymol.org/ pymol] (molecular viewer with python scripting) | ||
+ | |||
+ | Make sure to use the unstable branch of OpenNI. | ||
+ | |||
+ | == Usage == | ||
+ | Start pymol, load a molecule of your choosing and set the view as you like. | ||
+ | |||
+ | Run the script inside pymol and calibrate with the 'Psi' position. Which looks something like this: | ||
+ | |||
+ | | o | | ||
+ | \|/ | ||
+ | | | ||
+ | / \ | ||
+ | | | | ||
+ | |||
+ | When the calibration is done you can turn the molecule along the z and y axis. | ||
== Source Code == | == Source Code == | ||
You can grab the latest commit from [https://github.com/dromer/PymolKinect github] | You can grab the latest commit from [https://github.com/dromer/PymolKinect github] |
Revision as of 16:12, 11 April 2012
Projects | |
---|---|
Participants | |
Skills | coding, UI design |
Status | Active |
Niche | Software |
Purpose | Education |
This project focuses on controlling the Pymol UI using kinect gestures.
Software Used
- libfreenect (library for accessing the Microsoft Kinect USB camera)
- OpenNI (Natural Interface library that interprets the kinect data)
- PyOpenNI (python bindings for OpenNI)
- pymol (molecular viewer with python scripting)
Make sure to use the unstable branch of OpenNI.
Usage
Start pymol, load a molecule of your choosing and set the view as you like.
Run the script inside pymol and calibrate with the 'Psi' position. Which looks something like this:
| o | \|/ | / \ | |
When the calibration is done you can turn the molecule along the z and y axis.
Source Code
You can grab the latest commit from github