1 repository
Exposes matrices and vectors as flat arrays ready for direct upload to GPU uniform buffers without reformatting.
Distinct from WebGL & GPU Rendering: Distinct from WebGL & GPU Rendering: focuses on the output format of math data for GPU upload, not the rendering pipeline itself.
Explore 1 awesome GitHub repository matching graphics & multimedia · WebGL-Formatted Outputs. Refine with filters or upvote what's useful.
gl-matrix is a high-performance JavaScript library for vector and matrix math, purpose-built for real-time 3D graphics and physics simulations. It stores all vectors and matrices as typed arrays (Float32Array or Float64Array) in column-major order, matching the memory layout expected by OpenGL and WebGL shaders without requiring transposition. The library is implemented from scratch with zero external dependencies, keeping its bundle size minimal for web and Node.js environments. The library distinguishes itself through its immutable operation pattern, where each math function returns a new t
Exposes matrices and vectors as flat arrays ready for direct upload to GPU uniform buffers without reformatting.