Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toji/gl-matrix
Javascript Matrix and Vector library for High Performance WebGL apps
https://github.com/toji/gl-matrix
Last synced: 4 days ago
JSON representation
Javascript Matrix and Vector library for High Performance WebGL apps
- Host: GitHub
- URL: https://github.com/toji/gl-matrix
- Owner: toji
- License: mit
- Created: 2011-10-05T16:33:45.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T10:44:02.000Z (7 months ago)
- Last Synced: 2024-05-15T18:24:19.753Z (7 months ago)
- Language: JavaScript
- Homepage: glmatrix.net
- Size: 6.9 MB
- Stars: 5,261
- Watchers: 154
- Forks: 713
- Open Issues: 84
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-frontend - gl-matrix - Javascript Matrix and Vector library for High Performance WebGL apps. ![](https://img.shields.io/github/stars/toji/gl-matrix.svg?style=social&label=Star) (Repository / WebGL)
- awesome-starred - toji/gl-matrix - Javascript Matrix and Vector library for High Performance WebGL apps (others)
- awesome - gl-matrix - Javascript Matrix and Vector library for High Performance WebGL apps (etc)
- awesome - gl-matrix - Javascript Matrix and Vector library for High Performance WebGL apps (etc)
README
glMatrix
=======================
[![NPM Version](https://img.shields.io/npm/v/gl-matrix.svg)](https://www.npmjs.com/package/gl-matrix)
[![Build Status](https://travis-ci.org/toji/gl-matrix.svg)](https://travis-ci.org/toji/gl-matrix)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 browser's JavaScript engine.Learn More
----------------------
For documentation and news, visit the [glMatrix Homepage](http://glmatrix.net/)For a tutorial, see [the "Introducing glMatrix" section of _Introduction to Computer Graphics_ by David J. Eck](http://math.hws.edu/graphicsbook/c7/s1.html#webgl3d.1.2)
For a babel plugin to make writing the API nicer, see [babel-plugin-transform-gl-matrix](https://github.com/akira-cn/babel-plugin-transform-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](./CONTRIBUTING.md)Building
----------------------
See [BUILDING.md](./BUILDING.md)