gl-matrix

Javascript Matrix and Vector library for High Performance WebGL apps

  • Owner: toji/gl-matrix
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownertoji/gl-matrix
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2011-10-05 16:33:45
Pushed At2025-03-28 16:29:25
Last Commit At2025-03-22 10:12:23
Release Count19
Last Release Namev3.4.1 (Posted on )
First Release Namev1.3.7 (Posted on 2012-08-26 19:45:40)
用户参与
Stargazers Count5.5k
Watchers Count152
Fork Count727
Commits Count660
Has Issues Enabled
Issues Count292
Issue Open Count74
Pull Requests Count142
Pull Requests Open Count14
Pull Requests Close Count38
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private