Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Javascript Matrix and Vector library for High Performance WebGL apps
JavaScript CSS HTML
Latest commit fbd9b33 @toji Merge pull request #191 from chuntaro/patch-2
Fix undocumented mat4.fromQuat


Javascript has evolved into a language capable of handling realtime 3D graphics, via WebGL, and computationally intensive tasks such as physics simulations. These types of applications demand high performance vector and matrix math, which is something that Javascript doesn't provide by default. glMatrix to the rescue!

glMatrix is designed to perform vector and matrix operations stupidly fast! By hand-tuning each function for maximum performance and encouraging efficient usage patterns through API conventions, glMatrix will help you get the most out of your browsers Javascript engine.

Learn More

For documentation, news, tutorials, and more visit the glMatrix Homepage


Contributions are welcome! Please provide unit tests for new functionality. (See for details)

Something went wrong with that request. Please try again.