Home

Awesome

<p align="right"> <a href="https://npmjs.org/package/math.gl"> <img src="https://img.shields.io/npm/v/math.gl.svg?style=flat-square" alt="version" /> </a> <a href="https://npmjs.org/package/math.gl"> <img src="https://img.shields.io/npm/dm/math.gl.svg?style=flat-square" alt="downloads" /> </a> <a href='https://coveralls.io/github/visgl/math.gl'><img src='https://coveralls.io/repos/visgl/math.gl/badge.svg' alt='Coverage Status' /></a> </p> <h1 align="center">math.gl | <a href="https://visgl.github.io/math.gl">Docs</a></h1>

math.gl

This page is a brief summary only. Please refer to the extensive online documentation.

math.gl is JavaScript math library focused on geospatial and 3D use cases.

It is highly modular and composable, providing a core module with classic vector and matrix classes, and a suite of optional modules implementing various aspects of geospatial or 3D math.

In spite of its name, math.gl has no actual WebGL dependencies (e.g. it does not use WebGL or GPU to perform calculations), however its API is optimized for use with WebGL applications and GPU compute.

Attribution

math.gl was inspired by, and includes code, documentation and ideas from some of the most proven open source JavaScript math libraries, including gl-matrix and the THREE.js math library.

The generous open source licenses of those libraries encouraged reuse which enabled math.gl to be built.

License

MIT license. All code that math.gl has forked is also licensed under MIT or an MIT compatible permissive licenses.