Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gl-matrix with all npm packages installed. Try it out:

var glMatrix = require("gl-matrix")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gl-matrix v3.0.0

Javascript Matrix and Vector library for High Performance WebGL apps

glMatrix

Build Status

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 and news, visit the glMatrix Homepage

For a tutorial, see the "introducing glMatrix" section of Introduction to Computer Graphics by David J. Eck

Contributing Guidelines

See CONTRIBUTING.md

Building

See BUILDING.md

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free