Skip to content

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

License

Notifications You must be signed in to change notification settings

richorama/sat-beam

Repository files navigation

sat-beam

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

Try out a demo here.

Installation

Install via npm.

$ npm install sat-beam

Usage

import { getBeam } from '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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published