Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2012 (1)
20082026
  1. …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)
  2. Somewhat related: check out gl-matrix for some fast matrix math in JavaScript - https://github.com/toji/gl-matrix
  3. …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
  4. …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