Skip to main content

@math.gl/core

From v1.0

The core package provides vectors, matrices, and rotations for 3D math, plus utilities for colors, UTF-8 text, and Apache Arrow data.

Installation​

npm install @math.gl/core

Entry points​

ImportDescription
@math.gl/core/typesNumeric array and bounds types, runtime guards, and Float16 detection.
@math.gl/core/matrixVectors, matrices, coordinate conversions, and transforms.
@math.gl/core/colorColor scales, palettes, and lookup tables.
@math.gl/core/utf8Performant UTF-8 processing without JavaScript strings
@math.gl/core/arrowArrow tables and vectors, GeoArrow, and WKB. Install the apache-arrow peer dependency to use this entry point.