Quaternions in Python
Robert Kern
kern at myrddin.caltech.edu
Sat Oct 6 02:25:38 EDT 2001
In article <QJrv7.33708$My2.17101472 at news1.mntp1.il.home.com>,
"David Feustel" <dfeustel at mindspring.com> writes:
> Is there a Python module that does quaternion math?
ScientificPython has a module that does quaternion operations. It requires
Numeric.
http://starship.python.net/crew/hinsen/scientific.html
There is also a module in the OpenGLContext project that implements
quaternions. I don't believe it relies on any OpenGL-specific code, just Numeric
and some utility modules in the OpenGLContext package.
http://pyopengl.sourceforge.net
Both of them only implement the operations that are useful for representing 3-D
rotations, so you may have to add some functionality.
--
Robert Kern
kern at caltech.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the Python-list
mailing list