gl-matrix
Javascript Matrix and Vector library for High Performance WebGL apps
Last updated 6 years ago by stefnotch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install gl-matrix 
SYNC missed versions from official npm registry.

glMatrix

NPM Version 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

For a babel plugin to make writing the API nicer, see babel-plugin-transfrom-gl-matrix

Regarding the current performance in modern web browsers, calling glMatrix.setMatrixArrayType(Array) to use normal arrays instead of Float32Arrays can greatly increase the performance.

Contributing Guidelines

See CONTRIBUTING.md

Building

See BUILDING.md

Current Tags

  • 3.4.3                                ...           latest (3 years ago)
  • 3.0.0-0                                ...           next (6 years ago)

25 Versions

  • 3.4.3                                ...           3 years ago
  • 3.4.2 [deprecated]           ...           3 years ago
  • 3.4.1 [deprecated]           ...           3 years ago
  • 3.4.0 [deprecated]           ...           3 years ago
  • 3.3.0                                ...           5 years ago
  • 3.2.1                                ...           5 years ago
  • 3.2.0                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.0.0                                ...           6 years ago
  • 3.0.0-0                                ...           6 years ago
  • 2.8.1                                ...           6 years ago
  • 2.7.1                                ...           6 years ago
  • 2.7.0                                ...           6 years ago
  • 2.6.1                                ...           7 years ago
  • 2.6.0                                ...           7 years ago
  • 2.5.1                                ...           7 years ago
  • 2.4.1                                ...           7 years ago
  • 2.4.0                                ...           7 years ago
  • 2.3.2                                ...           9 years ago
  • 2.3.1                                ...           9 years ago
  • 2.3.0                                ...           10 years ago
  • 2.1.0                                ...           11 years ago
  • 2.2.0                                ...           11 years ago
  • 2.2.1                                ...           11 years ago
  • 2.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 13
Last Month 0
Dependencies (0)
None
Dev Dependencies (11)

Copyright 2013 - present © cnpmjs.org | Home |