1.0.0-pre.2 β€’ Published 1 month ago

@rapid-sdk/math v1.0.0-pre.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

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.