toji/gl-matrix
View on GitHub ↗ ★ 5,706 JavaScript
Javascript Matrix and Vector library for High Performance WebGL apps
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2012-07-16 · latest 2025-12-12
20082026
-
…for matrix math, just to allow the javascript engine to optimize the code as much as possible. https://github.com/toji/gl-matrix/blob/master/dist/gl-matrix...
comment by zkmon · 2025-12-12 · in 4 billion if statements (2023) -
Somewhat related: check out gl-matrix for some fast matrix math in JavaScript - https://github.com/toji/gl-matrix
comment by vecplane · 2018-05-27 · in How to write efficient matrix multiplication -
…allows you to re-use them without having to manually keep track of the temporary arrays. [1] - https://github.com/toji/gl-matrix [2] - https://github.com/mikolalysenko/typedarray-pool
comment by mattdesl · 2015-01-02 · in Show HN: Snabbt.js – a minimalistic animation library -
…math using hardware, webGL is pretty much useless. Modern matrix libraries like glMatrix https://github.com/toji/gl-matrix use typed arrays effectively to do very fast matrix and vector math in JS. A modern JS engine can transform such…
comment by azakai · 2012-07-16 · in MineCraftWebGL