Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 872 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 872 Bytes

sun

SUNPOS (Sunrise and sunset)

"SUNPOS" sun is the Vue-powered sun position calculation project. Most of the code is written using vue 2.0 and implemented as single-page application that can be hosted on any server without additional setup. Currently the following information is calculated and displayed:

  • local time and date as a Julian date
  • sun azimuth, elevation and zenith angle
  • ecliptic coordinates of the sun
  • equatorial coordinates of the sun
  • distance to the sun
  • time of sunrise and sunset
  • astronomical twilight time

In addition a Julian date/time calculator is provided

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build