geomatey

0.0.4 • Public • Published

geomatey

A helper library for dealing with geometry and vector calculations

Functions

Heres a list of all the fun things this library can do:

  • add
  • sub
  • scale
  • lerp
  • magnitude
  • normalize
  • perpendicular
  • angle
  • dot
  • getSlope
  • getYIntersect
  • angleBetween
  • signedAngleBetween
  • deltaAngle
  • signedDeltaAngle
  • direction
  • distance
  • cartesianToPolar
  • polarToCartesian
  • nextPointOnCircle
  • nextPointOnCircleLerped
  • nearestPointOnLine
  • slopeInterceptPointOfIntersection
  • cartesianPointOfIntersection
  • cartesianToSlopeIntercept
  • circleInfo

Readme

Keywords

none

Package Sidebar

Install

npm i geomatey

Weekly Downloads

7

Version

0.0.4

License

ISC

Unpacked Size

48.2 kB

Total Files

8

Last publish

Collaborators

  • mrchantey
  • piratesjustar