linuskmr / sextant-calculator

Calculates the latitude with celestial navigation based on an elevation angle measurement of the sun using a sextant.

Home Page:https://sextant-calculator.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sextant-calculator

Calculates the latitude with celestial navigation based on an elevation angle measurement of the sun using a sextant.

Live Demo

Run

Install the dependencies

cd sextant-calculator
npm install

and start Rollup:

npm run dev

Navigate to localhost:5000. You should see sextant-calculator running.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Building and running in production mode

To create an optimised version of the app:

npm run build

You can run the newly built app with npm run start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.


Based on sveltejs/template

About

Calculates the latitude with celestial navigation based on an elevation angle measurement of the sun using a sextant.

https://sextant-calculator.pages.dev

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 58.9%Language:Svelte 30.3%Language:HTML 4.7%Language:CSS 4.4%Language:JavaScript 1.7%