Alpine Math
A 3D math library WebGL.
Alpine Math
extends the built-in JavaScript Array
class. This means it can be used directly with any JavaScript function that expects plain JavaScript Array
arguments. Similar to math.gl it is debug friendly and offers optional error checking after every math operation which makes it much easier to locate errors. This optional error checking can be disabled for production environments by calling setConfigEntry(MATH_VALIDATE, false)
). It also offers strong printing support
(toString()
) which simplifies debugging.
Alpine Math
builds on top of the excellent gl-matrix library which supports tree-shaking of individually exported functions and has been proven to be stable and correct.
Support
Alpine Engine supports the latest two versions of evergreen
browsers:
- Edge
- Edge (Chromium)
- Firefox
- Chrome
- Chrome Android
- Safari
- Safari iOS
Installation
Make sure you have Node.js installed.
$ npm install alpine-math
Development
$ yarn start
$ yarn lint
$ yarn test
$ yarn build
Licence
My work is released under the MIT license.