sat-beam

1.0.0 • Public • Published

sat-beam

📡 calcuates the beam a satellite projects on the earth's surface

Try out a demo here.

Usage

const { getBeam } = require('sat-beam')
 
const lng = 2.0 // degrees
const lat = 52.0 // degrees
const radius = 100.0 //km
 
const points = getBeam(lng, lat, radius)
 
/*
[ { lat: 53.975960615468395, lng: 1.999999999997981 },
  { lat: 53.959810572100736, lng: 2.112830670635857 },
  { lat: 53.91167290927757, lng: 2.2238947168825023 },
  ...
*/

License

MIT

/sat-beam/

    Package Sidebar

    Install

    npm i sat-beam

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    225 kB

    Total Files

    6

    Last publish

    Collaborators

    • richard.astbury