@rapid-sdk/math
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-pre.2 • Public • Published

npm version

@rapid-sdk/math

🔢 Collection of rapid-sdk math libraries

Installing

npm install @rapid-sdk/math

This library is distributed in ESM format only. It cannot be require()'d from CommonJS. For more, please read Sindre Sorhus’s FAQ.

import { Extent } from '@rapid-sdk/math';

Packages

  • ⭐️ Math Constants

  • 🌐 Geographic (spherical) math functions

  • 📈 Geometric (planar) math functions

  • 🔢 Number math functions

  • 📐 Vector math functions

  • 📦 Extent class for working with bounding boxes

  • 🀄️ Tiler class for splitting the world into rectangular tiles

  • 🕹️ Transform class for managing translation, scale, rotation

  • 📺 Viewport class for managing view state and converting between Lon/Lat (λ,φ) and Cartesian (x,y) coordinates

Contributing

This project is just getting started! 🌱

We're not able to support external contributors at this time, but check back in a bit when things have matured.

Readme

Keywords

none

Package Sidebar

Install

npm i @rapid-sdk/math

Weekly Downloads

121

Version

1.0.0-pre.2

License

ISC

Unpacked Size

242 kB

Total Files

34

Last publish

Collaborators

  • bhousel